26#include <OpenThreads/Mutex>
29#if defined(OSG_GLES1_AVAILABLE) || defined(OSG_GLES2_AVAILABLE) || defined(OSG_GLES3_AVAILABLE) && !defined(OSG_GL3_AVAILABLE)
30 #define GL_FRONT_LEFT 0x0400
31 #define GL_FRONT_RIGHT 0x0401
32 #define GL_BACK_LEFT 0x0402
33 #define GL_BACK_RIGHT 0x0403
198 double bottom,
double top,
199 double zNear,
double zFar);
203 double bottom,
double top);
207 double bottom,
double top,
208 double zNear,
double zFar);
213 double zNear,
double zFar);
224 double& bottom,
double& top,
225 double& zNear,
double& zFar)
const;
230 double& bottom,
double& top,
231 double& zNear,
double& zFar)
const;
239 double& zNear,
double& zFar)
const;
359 unsigned int multisampleSamples = 0,
360 unsigned int multisampleColorSamples = 0);
364 unsigned int multisampleSamples = 0,
365 unsigned int multisampleColorSamples = 0);
606 operator () (renderInfo);
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
Matrixd Matrix
Definition Matrix:27
Vec4f Vec4
Definition Vec4:21
osg::Callback * getNestedCallback()
Definition Callback:89
ref_ptr< Callback > _nestedCallback
Definition Callback:127
Callback()
Definition Callback:38
void setNestedCallback(osg::Callback *cb)
Definition Callback:88
Camera - is a subclass of Transform which represents encapsulates the settings of a Camera.
Definition Camera:45
void setViewport(int x, int y, int width, int height)
Set the viewport of the camera to specified dimensions.
osg::Vec4 _clearAccum
Definition Camera:826
ImplicitBufferAttachmentMask getImplicitBufferAttachmentRenderMask(bool effectiveMask) const
Get mask selecting implicit buffer attachments for Camera primary FBO if effectiveMask parameter is s...
Definition Camera:508
BufferAttachmentMap _bufferAttachmentMap
Definition Camera:847
void setProjectionMatrix(const osg::Matrixf &matrix)
Set the projection matrix.
Definition Camera:191
ColorMask * getColorMask()
Get the ColorMask.
Definition Camera:146
OpenThreads::Affinity _affinity
Definition Camera:853
osg::ref_ptr< osg::Stats > _stats
Definition Camera:818
ref_ptr< DrawCallback > _postDrawCallback
Definition Camera:863
ProjectionResizePolicy _projectionResizePolicy
Definition Camera:834
ImplicitBufferAttachmentMask getImplicitBufferAttachmentRenderMask() const
Definition Camera:498
osg::Matrixd & getProjectionMatrix()
Get the projection matrix.
Definition Camera:216
void removePostDrawCallback(const ref_ptr< T > &nc)
Definition Camera:748
void setRenderTargetImplementation(RenderTargetImplementation impl, RenderTargetImplementation fallback)
Set the render target and fall-back that's used if the former isn't available.
GLbitfield _clearMask
Definition Camera:824
void attach(BufferComponent buffer, GLenum internalFormat)
Attach a buffer with specified OpenGL internal format.
void setClearDepth(double depth)
Set the clear depth used in glClearDepth().
Definition Camera:122
virtual bool computeWorldToLocalMatrix(Matrix &matrix, NodeVisitor *) const
Transform method that must be defined to provide generic interface for scene graph traversals.
void removeInitialDrawCallback(const ref_ptr< T > &nc)
Definition Camera:672
void setRenderTargetImplementation(RenderTargetImplementation impl)
Set the render target.
Camera(const Camera &, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
int getRenderOrderNum() const
Get the rendering order number of this camera relative to any sibling cameras in this subgraph.
Definition Camera:284
RenderOrder
Definition Camera:269
@ POST_RENDER
Definition Camera:272
@ PRE_RENDER
Definition Camera:270
@ NESTED_RENDER
Definition Camera:271
void setViewMatrix(const osg::Matrixd &matrix)
Set the view matrix.
Definition Camera:247
TransformOrder getTransformOrder() const
Get the transformation order.
Definition Camera:173
int _clearStencil
Definition Camera:828
void setFinalDrawCallback(DrawCallback *cb)
Set the final draw callback for custom operations to be done after the drawing of the camera's subgra...
Definition Camera:751
void setProjectionMatrix(const osg::Matrixd &matrix)
Set the projection matrix.
Definition Camera:194
RenderTargetImplementation
Definition Camera:290
@ SEPARATE_WINDOW
Definition Camera:295
@ FRAME_BUFFER_OBJECT
Definition Camera:291
@ PIXEL_BUFFER_RTT
Definition Camera:292
@ PIXEL_BUFFER
Definition Camera:293
@ FRAME_BUFFER
Definition Camera:294
void removeFinalDrawCallback(DrawCallback *nc)
Convenience method that removes a given callback from a node, even if that callback is nested.
Definition Camera:772
static const unsigned int FACE_CONTROLLED_BY_GEOMETRY_SHADER
Definition Camera:349
void addPostDrawCallback(const ref_ptr< T > &nc)
Definition Camera:731
const osg::Vec4 & getClearColor() const
Get the clear color.
Definition Camera:111
ImplicitBufferAttachmentMask getImplicitBufferAttachmentResolveMask() const
Definition Camera:521
unsigned int getAttachmentMapModifiedCount() const
Get the AttachmentMapModifiedCount.
Definition Camera:427
bool _allowEventFocus
Definition Camera:820
void setInitialDrawCallback(DrawCallback *cb)
Set the initial draw callback for custom operations to be done before the drawing of the camera's sub...
Definition Camera:637
void attach(BufferComponent buffer, osg::Image *image, unsigned int multisampleSamples=0, unsigned int multisampleColorSamples=0)
Attach a Image to specified buffer component.
const ColorMask * getColorMask() const
Get the const ColorMask.
Definition Camera:143
ref_ptr< Object > _renderingCache
Definition Camera:859
void addPostDrawCallback(DrawCallback *nc)
Convenience method that sets DrawCallback Initial callback of the node if it doesn't exist,...
Definition Camera:722
void attach(BufferComponent buffer, osg::Texture *texture, unsigned int level=0, unsigned int face=0, bool mipMapGeneration=false, unsigned int multisampleSamples=0, unsigned int multisampleColorSamples=0)
Attach a Texture to specified buffer component.
void addPreDrawCallback(DrawCallback *nc)
Convenience method that sets DrawCallback Initial callback of the node if it doesn't exist,...
Definition Camera:684
DrawCallback * getPostDrawCallback()
Get the post draw callback.
Definition Camera:716
DrawCallback * getPreDrawCallback()
Get the pre draw callback.
Definition Camera:678
const osg::DisplaySettings * getDisplaySettings() const
Get the const DisplaySettings object associated with this view.
Definition Camera:96
Matrixd _projectionMatrix
Definition Camera:836
void removePostDrawCallback(DrawCallback *nc)
Convenience method that removes a given callback from a node, even if that callback is nested.
Definition Camera:734
void removeInitialDrawCallback(DrawCallback *nc)
Convenience method that removes a given callback from a node, even if that callback is nested.
Definition Camera:658
OperationThread * getCameraThread()
Get the operation thread assigned to this camera.
Definition Camera:556
unsigned int _attachmentMapModifiedCount
Definition Camera:851
osg::Object * getRenderingCache()
Get the Rendering cache that is used for cached objects associated with rendering of subgraphs.
Definition Camera:587
void setColorMask(osg::ColorMask *colorMask)
Set the color mask of the camera to use specified osg::ColorMask.
void setDisplaySettings(osg::DisplaySettings *ds)
Set the DisplaySettings object associated with this view.
Definition Camera:90
void addFinalDrawCallback(DrawCallback *nc)
Convenience method that sets DrawCallback Initial callback of the node if it doesn't exist,...
Definition Camera:760
RenderTargetImplementation getRenderTargetImplementation() const
Get the render target.
Definition Camera:305
Matrixd getInverseViewMatrix() const
Get the inverse view matrix.
View * _view
Definition Camera:816
void createCameraThread()
Create a operation thread for this camera.
OpenThreads::Affinity & getProcessorAffinity()
Definition Camera:546
void resizeAttachments(int width, int height)
Resize the image and textures in the AttachementMap.
bool getProjectionMatrixAsOrtho(double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const
Get the orthographic settings of the orthographic projection matrix.
BufferAttachmentMap & getBufferAttachmentMap()
Get the BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads.
Definition Camera:414
GLenum getReadBuffer() const
Get the read buffer for any required copy operations to use.
Definition Camera:323
int _renderOrderNum
Definition Camera:840
GLenum _readBuffer
Definition Camera:843
void setProjectionMatrixAsFrustum(double left, double right, double bottom, double top, double zNear, double zFar)
Set to a perspective projection.
const osg::Object * getRenderingCache() const
Get the const Rendering cache that is used for cached objects associated with rendering of subgraphs.
Definition Camera:590
void setViewMatrixAsLookAt(const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up)
Set to the position and orientation of view matrix, using the same convention as gluLookAt.
void removeFinalDrawCallback(const ref_ptr< T > &nc)
Definition Camera:786
osg::Vec4 _clearColor
Definition Camera:825
Viewport * getViewport()
Get the viewport.
Definition Camera:159
const DrawCallback * getPostDrawCallback() const
Get the const post draw callback.
Definition Camera:719
osg::DisplaySettings * getDisplaySettings()
Get the DisplaySettings object associated with this view.
Definition Camera:93
osg::Stats * getStats()
Get the Stats object.
Definition Camera:74
ImplicitBufferAttachmentMask _implicitBufferAttachmentRenderMask
Definition Camera:848
void setClearAccum(const osg::Vec4 &color)
Set the clear accum used in glClearAccum().
Definition Camera:115
int ImplicitBufferAttachmentMask
Definition Camera:480
const osg::Matrixd & getViewMatrix() const
Get the const view matrix.
Definition Camera:253
void setProjectionResizePolicy(ProjectionResizePolicy policy)
Set the policy used to determine if and how the projection matrix should be adjusted on window resize...
Definition Camera:184
virtual const Camera * asCamera() const
convert 'const this' into a const Camera pointer if Node is a Camera, otherwise return 0.
Definition Camera:57
RenderOrder _renderOrder
Definition Camera:839
virtual bool computeLocalToWorldMatrix(Matrix &matrix, NodeVisitor *) const
Transform method that must be defined to provide generic interface for scene graph traversals.
virtual void resizeGLObjectBuffers(unsigned int maxSize)
Resize any per context GLObject buffers to specified size.
void removePreDrawCallback(const ref_ptr< T > &nc)
Definition Camera:710
void setDrawBuffer(GLenum buffer)
Set the draw buffer used at the start of each frame draw.
Definition Camera:313
ImplicitBufferAttachment
Explicit control over implicit allocation of buffers when using FBO.
Definition Camera:473
@ IMPLICIT_STENCIL_BUFFER_ATTACHMENT
Definition Camera:475
@ IMPLICIT_COLOR_BUFFER_ATTACHMENT
Definition Camera:476
@ IMPLICIT_DEPTH_BUFFER_ATTACHMENT
Definition Camera:474
@ USE_DISPLAY_SETTINGS_MASK
Definition Camera:477
DrawCallback * getFinalDrawCallback()
Get the final draw callback.
Definition Camera:754
void getViewMatrixAsLookAt(osg::Vec3f &eye, osg::Vec3f ¢er, osg::Vec3f &up, float lookDistance=1.0f) const
Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.
void setProjectionMatrixAsOrtho2D(double left, double right, double bottom, double top)
Set to a 2D orthographic projection.
RenderTargetImplementation getRenderTargetFallback() const
Get the render target fallback.
Definition Camera:308
void getViewMatrixAsLookAt(osg::Vec3d &eye, osg::Vec3d ¢er, osg::Vec3d &up, double lookDistance=1.0) const
Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt.
void setProcessorAffinity(const OpenThreads::Affinity &affinity)
Set the process affinity hint for any Camera Threads that are/will be assigned to this Camera.
GLenum _drawBuffer
Definition Camera:842
osg::ref_ptr< osg::DisplaySettings > _displaySettings
Definition Camera:822
void setColorMask(bool red, bool green, bool blue, bool alpha)
Set the color mask of the camera to specified values.
double getClearDepth() const
Get the clear depth value.
Definition Camera:125
void setPreDrawCallback(DrawCallback *cb)
Set the pre draw callback for custom operations to be done before the drawing of the camera's subgrap...
Definition Camera:675
void setClearColor(const osg::Vec4 &color)
Set the clear color used in glClearColor().
Definition Camera:108
void setCameraThread(OperationThread *gt)
Assign a operation thread to the camera.
RenderTargetImplementation _renderTargetFallback
Definition Camera:846
virtual Camera * asCamera()
Convert 'this' into a Camera pointer if Node is a Camera, otherwise return 0.
Definition Camera:56
void setGraphicsContext(GraphicsContext *context)
Set the GraphicsContext that provides the mechansim for managing the OpenGL graphics context associat...
virtual void inheritCullSettings(const CullSettings &settings, unsigned int inheritanceMask)
Inherit the local cull settings variable from specified CullSettings object, according to the inherit...
const OperationThread * getCameraThread() const
Get the const operation thread assigned to this camera.
Definition Camera:559
RenderTargetImplementation _renderTargetImplementation
Definition Camera:845
const DrawCallback * getFinalDrawCallback() const
Get the const final draw callback.
Definition Camera:757
void resize(int width, int height, int resizeMask=RESIZE_DEFAULT)
Resize, to the specified width and height, the viewport, attachments and projection matrix according ...
ref_ptr< ColorMask > _colorMask
Definition Camera:830
void setClearStencil(int stencil)
Set the clear stencil value used in glClearStencil().
Definition Camera:129
void setPostDrawCallback(DrawCallback *cb)
Set the post draw callback for custom operations to be done after the drawing of the camera's subgrap...
Definition Camera:713
const OpenThreads::Affinity & getProcessorAffinity() const
Definition Camera:547
const osg::Vec4 & getClearAccum() const
Get the clear accum value.
Definition Camera:118
DrawCallback * getInitialDrawCallback()
Get the initial draw callback.
Definition Camera:640
void setAttachmentMapModifiedCount(unsigned int v)
Set the AttachmentMapModifiedCount to a specific value.
Definition Camera:424
ref_ptr< GraphicsOperation > _renderer
Definition Camera:858
void removePreDrawCallback(DrawCallback *nc)
Convenience method that removes a given callback from a node, even if that callback is nested.
Definition Camera:696
void addInitialDrawCallback(const ref_ptr< T > &nc)
Definition Camera:655
void setClearMask(GLbitfield mask)
Set the clear mask used in glClear().
Definition Camera:101
GLenum getDrawBuffer() const
Get the draw buffer used at the start of each frame draw.
Definition Camera:316
const osg::GraphicsOperation * getRenderer() const
Get the const Rendering object that is used to implement rendering of the subgraph.
Definition Camera:580
osg::GraphicsOperation * getRenderer()
Get the Rendering object that is used to implement rendering of the subgraph.
Definition Camera:577
ref_ptr< DrawCallback > _initialDrawCallback
Definition Camera:861
void setViewMatrix(const osg::Matrixf &matrix)
Set the view matrix.
Definition Camera:244
bool getProjectionMatrixAsPerspective(double &fovy, double &aspectRatio, double &zNear, double &zFar) const
Get the frustum setting of a symmetric perspective projection matrix.
const DrawCallback * getPreDrawCallback() const
Get the const pre draw callback.
Definition Camera:681
void setProjectionMatrixAsOrtho(double left, double right, double bottom, double top, double zNear, double zFar)
Set to an orthographic projection.
ResizeMask
Definition Camera:434
@ RESIZE_ATTACHMENTS
Definition Camera:436
@ RESIZE_PROJECTIONMATRIX
Definition Camera:437
@ RESIZE_VIEWPORT
Definition Camera:435
@ RESIZE_DEFAULT
Definition Camera:438
bool isRenderToTextureCamera() const
Return true if this Camera is set up as a render to texture camera, i.e.
TransformOrder _transformOrder
Definition Camera:833
OpenThreads::Mutex * getDataChangeMutex() const
Definition Camera:788
const osg::Stats * getStats() const
Get the const Stats object.
Definition Camera:77
void setImplicitBufferAttachmentResolveMask(ImplicitBufferAttachmentMask implicitBufferAttachmentResolveMask)
Definition Camera:493
void detach(BufferComponent buffer)
Detach specified buffer component.
void addInitialDrawCallback(DrawCallback *nc)
Convenience method that sets DrawCallback Initial callback of the node if it doesn't exist,...
Definition Camera:646
bool getProjectionMatrixAsFrustum(double &left, double &right, double &bottom, double &top, double &zNear, double &zFar) const
Get the frustum setting of a perspective projection matrix.
void setViewport(osg::Viewport *viewport)
Set the viewport of the camera to use specified osg::Viewport.
void dirtyAttachmentMap()
Increment the _attachementMapModifiedCount so that the rendering backend will know that it needs to b...
Definition Camera:421
OpenThreads::Mutex _dataChangeMutex
Definition Camera:813
void setRenderer(osg::GraphicsOperation *rc)
Set the Rendering object that is used to implement rendering of the subgraph.
Definition Camera:574
const Viewport * getViewport() const
Get the const viewport.
Definition Camera:156
double _clearDepth
Definition Camera:827
GLbitfield getClearMask() const
Get the clear mask.
Definition Camera:104
const View * getView() const
Get the const View that this Camera is part of.
Definition Camera:66
std::map< BufferComponent, Attachment > BufferAttachmentMap
Definition Camera:411
ProjectionResizePolicy
Definition Camera:176
@ FIXED
Keep the projection matrix fixed, despite window resizes.
Definition Camera:177
@ VERTICAL
Adjust the VERTICAL field of view on window resizes.
Definition Camera:179
@ HORIZONTAL
Adjust the HORIZONTAL field of view on window resizes.
Definition Camera:178
const osg::Matrixd & getProjectionMatrix() const
Get the const projection matrix.
Definition Camera:219
void setImplicitBufferAttachmentMask(ImplicitBufferAttachmentMask renderMask=DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, ImplicitBufferAttachmentMask resolveMask=DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT)
Definition Camera:482
virtual void releaseGLObjects(osg::State *=0) const
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics...
ref_ptr< DrawCallback > _finalDrawCallback
Definition Camera:864
ref_ptr< OperationThread > _cameraThread
Definition Camera:854
void setReadBuffer(GLenum buffer)
Set the read buffer for any required copy operations to use.
Definition Camera:320
void setImplicitBufferAttachmentRenderMask(ImplicitBufferAttachmentMask implicitBufferAttachmentRenderMask)
Definition Camera:488
void setStats(osg::Stats *stats)
Set the Stats object used to collect various frame related timing and scene graph stats.
Definition Camera:71
void addFinalDrawCallback(const ref_ptr< T > &nc)
Definition Camera:769
void setRenderingCache(osg::Object *rc)
Set the Rendering cache that is used for cached objects associated with rendering of subgraphs.
Definition Camera:584
ImplicitBufferAttachmentMask getImplicitBufferAttachmentResolveMask(bool effectiveMask) const
Get mask selecting implicit buffer attachments for Camera secondary MULTISAMPLE FBO if effectiveMask ...
Definition Camera:531
ref_ptr< Viewport > _viewport
Definition Camera:831
ref_ptr< GraphicsContext > _graphicsContext
Definition Camera:856
osg::Matrixd & getViewMatrix()
Get the view matrix.
Definition Camera:250
ref_ptr< DrawCallback > _preDrawCallback
Definition Camera:862
const DrawCallback * getInitialDrawCallback() const
Get the const initial draw callback.
Definition Camera:643
ImplicitBufferAttachmentMask _implicitBufferAttachmentResolveMask
Definition Camera:849
void addPreDrawCallback(const ref_ptr< T > &nc)
Definition Camera:693
GraphicsContext * getGraphicsContext()
Get the GraphicsContext.
Definition Camera:567
View * getView()
Get the View that this Camera is part of.
Definition Camera:63
int getClearStencil() const
Get the clear stencil value.
Definition Camera:132
void setRenderOrder(RenderOrder order, int orderNum=0)
Set the rendering order of this camera's subgraph relative to any camera that this subgraph is nested...
Definition Camera:278
ProjectionResizePolicy getProjectionResizePolicy() const
Get the policy used to determine if and how the projection matrix should be adjusted on window resize...
Definition Camera:187
void setTransformOrder(TransformOrder order)
Set the transformation order for world-to-local and local-to-world transformation.
Definition Camera:170
BufferComponent
Definition Camera:326
@ COLOR_BUFFER11
Definition Camera:342
@ COLOR_BUFFER7
Definition Camera:338
@ COLOR_BUFFER
Definition Camera:330
@ COLOR_BUFFER3
Definition Camera:334
@ DEPTH_BUFFER
Definition Camera:327
@ COLOR_BUFFER5
Definition Camera:336
@ COLOR_BUFFER14
Definition Camera:345
@ COLOR_BUFFER4
Definition Camera:335
@ COLOR_BUFFER2
Definition Camera:333
@ COLOR_BUFFER12
Definition Camera:343
@ COLOR_BUFFER1
Definition Camera:332
@ COLOR_BUFFER13
Definition Camera:344
@ PACKED_DEPTH_STENCIL_BUFFER
Definition Camera:329
@ STENCIL_BUFFER
Definition Camera:328
@ COLOR_BUFFER8
Definition Camera:339
@ COLOR_BUFFER0
Definition Camera:331
@ COLOR_BUFFER10
Definition Camera:341
@ COLOR_BUFFER15
Definition Camera:346
@ COLOR_BUFFER9
Definition Camera:340
@ COLOR_BUFFER6
Definition Camera:337
const GraphicsContext * getGraphicsContext() const
Get the const GraphicsContext.
Definition Camera:570
bool getAllowEventFocus() const
Get whether this camera allows events to be generated by the associated graphics window to be associa...
Definition Camera:86
void setView(View *view)
Set the View that this Camera is part of.
Definition Camera:60
Matrixd _viewMatrix
Definition Camera:837
TransformOrder
Definition Camera:164
@ POST_MULTIPLY
Definition Camera:166
@ PRE_MULTIPLY
Definition Camera:165
RenderOrder getRenderOrder() const
Get the rendering order of this camera's subgraph relative to any camera that this subgraph is nested...
Definition Camera:281
void setAllowEventFocus(bool focus)
Set whether this camera allows events to be generated by the associated graphics window to be associa...
Definition Camera:82
void setProjectionMatrixAsPerspective(double fovy, double aspectRatio, double zNear, double zFar)
Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further deta...
const BufferAttachmentMap & getBufferAttachmentMap() const
Get the const BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads...
Definition Camera:417
GLenum _internalFormat
Definition Camera:401
unsigned int _level
Definition Camera:404
ref_ptr< Texture > _texture
Definition Camera:403
Attachment()
Definition Camera:372
int height() const
Definition Camera:387
unsigned int _multisampleColorSamples
Definition Camera:408
bool _mipMapGeneration
Definition Camera:406
int width() const
Definition Camera:380
int depth() const
Definition Camera:394
unsigned int _face
Definition Camera:405
ref_ptr< Image > _image
Definition Camera:402
unsigned int _multisampleSamples
Definition Camera:407
Draw callback for custom operations.
Definition Camera:595
void run(osg::RenderInfo &renderInfo) const
Functor method called by rendering thread to recursively launch operator() on _nestedcallback.
Definition Camera:604
virtual void releaseGLObjects(osg::State *state=0) const
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics...
Definition Camera:628
META_Object(osg, DrawCallback)
DrawCallback(const DrawCallback &org, const CopyOp ©op)
Definition Camera:598
DrawCallback()
Definition Camera:596
virtual void resizeGLObjectBuffers(unsigned int maxSize)
Resize any per context GLObject buffers to specified size.
Definition Camera:619
Functor to assist with ordering cameras in the order they should be rendered in.
Definition Camera:870
bool operator()(const Camera *lhs, const Camera *rhs) const
Definition Camera:871
Encapsulates OpenGL glColorMaskFunc/Op/Mask functions.
Definition ColorMask:25
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
void applyMaskAction(unsigned int maskBit)
Apply the action, specified by the InheritanceMaskActionOnAttributeSetting, to apply to the inheritan...
Definition CullSettings:120
@ DRAW_BUFFER
Definition CullSettings:78
@ CLEAR_COLOR
Definition CullSettings:74
@ CLEAR_MASK
Definition CullSettings:75
@ READ_BUFFER
Definition CullSettings:79
CullSettings()
Definition CullSettings:31
DisplaySettings class for encapsulating what visuals are required and have been set up,...
Definition DisplaySettings:34
ImplicitBufferAttachmentMask getImplicitBufferAttachmentResolveMask() const
Get mask selecting default implicit buffer attachments for Cameras secondary MULTISAMPLE FBOs.
Definition DisplaySettings:254
@ DEFAULT_IMPLICIT_BUFFER_ATTACHMENT
Definition DisplaySettings:229
@ IMPLICIT_STENCIL_BUFFER_ATTACHMENT
Definition DisplaySettings:227
@ IMPLICIT_COLOR_BUFFER_ATTACHMENT
Definition DisplaySettings:228
@ IMPLICIT_DEPTH_BUFFER_ATTACHMENT
Definition DisplaySettings:226
static ref_ptr< DisplaySettings > & instance()
Maintain a DisplaySettings singleton for objects to query at runtime.
ImplicitBufferAttachmentMask getImplicitBufferAttachmentRenderMask() const
Get mask selecting default implicit buffer attachments for Cameras primary FBOs.
Definition DisplaySettings:251
Base class for providing Windowing API agnostic access to creating and managing graphics context.
Definition GraphicsContext:30
Definition GraphicsThread:36
Image class for encapsulating the storage texture image data.
Definition Image:179
void dirtyBound()
Mark this node's bounding sphere dirty.
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
OperationThread is a helper class for running Operation within a single thread.
Definition OperationThread:154
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
T * get() const
Definition ref_ptr:117
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
Texture pure virtual base class that encapsulates OpenGL texture functionality common to the various ...
Definition Texture:422
General purpose double triple for use as vertices, vectors and normals.
Definition Vec3d:30
General purpose float triple for use as vertices, vectors and normals.
Definition Vec3f:29
View - maintains a master camera view and a list of slave cameras that are relative to this master ca...
Definition View:30
Encapsulate OpenGL glViewport.
Definition Viewport:24
#define NULL
Definition Export:55
#define OSG_EXPORT
Definition Export:39