16 #ifndef SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H
17 #define SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H
23 #include <osg/ref_ptr>
73 #endif // SURGSIM_GRAPHICS_OSGSCREENSPACEPASS_H
Definition: DriveElementFromInputBehavior.cpp:27
void setViewPort(int width, int height)
Set viewport dimensions.
Definition: OsgScreenSpacePass.cpp:69
virtual ~OsgScreenSpacePass()
Destructor.
Definition: OsgScreenSpacePass.cpp:35
Special RenderPass to draw items using a orthogonal projection, this is specific to the Osg implement...
Definition: OsgScreenSpacePass.h:37
osg::ref_ptr< osg::Camera > m_camera
The osg camera reference.
Definition: OsgScreenSpacePass.h:61
virtual bool doInitialize() override
Initialize this Component.
Definition: OsgScreenSpacePass.cpp:40
int m_height
The height of the viewport.
Definition: OsgScreenSpacePass.h:67
Definition: OsgLight.h:33
void updateViewport(int width, int height)
Update the projection matrix.
Definition: OsgScreenSpacePass.cpp:61
int m_width
The width of the viewport.
Definition: OsgScreenSpacePass.h:64
Encapsulation of all the components necessary needed to implement a full renderpass, this SceneElement contains a Camera and Group, it can also take a Material (for shaders and uniforms) and a RenderTarget for textures that are used as the output for the camera.
Definition: RenderPass.h:50
OsgScreenSpacePass(const std::string &name)
Constructor.
Definition: OsgScreenSpacePass.cpp:27