Go to the documentation of this file.
16 #ifndef SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H
17 #define SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H
23 #include <osg/ref_ptr>
73 #endif // SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H
int m_width
The width of the viewport.
Definition: OsgScreenSpacePass.h:64
Definition: OculusView.h:25
OsgScreenSpacePass(const std::string &name)
Constructor.
Definition: OsgScreenSpacePass.cpp:27
Special RenderPass to draw items using a orthogonal projection, this is specific to the Osg implement...
Definition: OsgScreenSpacePass.h:37
Definition: CompoundShapeToGraphics.cpp:29
bool doInitialize() override
Initialize this Component.
Definition: OsgScreenSpacePass.cpp:40
virtual ~OsgScreenSpacePass()
Destructor.
Definition: OsgScreenSpacePass.cpp:35
void updateViewport(int width, int height)
Update the projection matrix.
Definition: OsgScreenSpacePass.cpp:61
osg::ref_ptr< osg::Camera > m_camera
The osg camera reference.
Definition: OsgScreenSpacePass.h:61
Encapsulation of all the components necessary needed to implement a full renderpass,...
Definition: RenderPass.h:50
void setViewPort(int width, int height)
Set viewport dimensions.
Definition: OsgScreenSpacePass.cpp:69
int m_height
The height of the viewport.
Definition: OsgScreenSpacePass.h:67