|
| CullStack () |
|
| CullStack (const CullStack &cs) |
|
| ~CullStack () |
|
void | reset () |
|
void | pushCullingSet () |
|
void | popCullingSet () |
|
void | setOccluderList (const ShadowVolumeOccluderList &svol) |
|
ShadowVolumeOccluderList & | getOccluderList () |
|
const ShadowVolumeOccluderList & | getOccluderList () const |
|
void | pushViewport (osg::Viewport *viewport) |
|
void | popViewport () |
|
void | pushProjectionMatrix (osg::RefMatrix *matrix) |
|
void | popProjectionMatrix () |
|
void | pushModelViewMatrix (osg::RefMatrix *matrix, Transform::ReferenceFrame referenceFrame) |
|
void | popModelViewMatrix () |
|
float | getFrustumVolume () |
|
float | pixelSize (const Vec3 &v, float radius) const |
| Compute the pixel size of an object at position v, with specified radius. More...
|
|
float | pixelSize (const BoundingSphere &bs) const |
| Compute the pixel size of the bounding sphere. More...
|
|
float | clampedPixelSize (const Vec3 &v, float radius) const |
| Compute the pixel size of an object at position v, with specified radius. More...
|
|
float | clampedPixelSize (const BoundingSphere &bs) const |
| Compute the pixel size of the bounding sphere. More...
|
|
void | disableAndPushOccludersCurrentMask (NodePath &nodePath) |
|
void | popOccludersCurrentMask (NodePath &nodePath) |
|
bool | isCulled (const std::vector< Vec3 > &vertices) |
|
bool | isCulled (const BoundingBox &bb) |
|
bool | isCulled (const BoundingSphere &bs) |
|
bool | isCulled (const osg::Node &node) |
|
void | pushCurrentMask () |
|
void | popCurrentMask () |
|
CullingStack & | getClipSpaceCullingStack () |
|
CullingStack & | getProjectionCullingStack () |
|
CullingStack & | getModelViewCullingStack () |
|
CullingSet & | getCurrentCullingSet () |
|
const CullingSet & | getCurrentCullingSet () const |
|
osg::Viewport * | getViewport () |
|
osg::RefMatrix * | getModelViewMatrix () |
|
osg::RefMatrix * | getProjectionMatrix () |
|
osg::Matrix | getWindowMatrix () |
|
const osg::RefMatrix * | getMVPW () |
|
const osg::Vec3 & | getReferenceViewPoint () const |
|
void | pushReferenceViewPoint (const osg::Vec3 &viewPoint) |
|
void | popReferenceViewPoint () |
|
const osg::Vec3 & | getEyeLocal () const |
|
const osg::Vec3 & | getViewPointLocal () const |
|
const osg::Vec3 | getUpLocal () const |
|
const osg::Vec3 | getLookVectorLocal () const |
|
| CullSettings () |
|
| CullSettings (ArgumentParser &arguments) |
|
| CullSettings (const CullSettings &cs) |
|
virtual | ~CullSettings () |
|
CullSettings & | operator= (const CullSettings &settings) |
|
virtual void | setDefaults () |
|
void | setInheritanceMask (InheritanceMask mask) |
| Set the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. More...
|
|
InheritanceMask | getInheritanceMask () const |
| Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. More...
|
|
void | setCullSettings (const CullSettings &settings) |
| Set the local cull settings values from specified CullSettings object. More...
|
|
virtual void | inheritCullSettings (const CullSettings &settings) |
| Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. More...
|
|
virtual void | inheritCullSettings (const CullSettings &settings, unsigned int inheritanceMask) |
| Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. More...
|
|
void | readEnvironmentalVariables () |
| read the environmental variables. More...
|
|
void | readCommandLine (ArgumentParser &arguments) |
| read the commandline arguments. More...
|
|
void | setInheritanceMaskActionOnAttributeSetting (InheritanceMaskActionOnAttributeSetting action) |
|
InheritanceMaskActionOnAttributeSetting | getInheritanceMaskActionOnAttributeSetting () const |
|
void | applyMaskAction (unsigned int maskBit) |
| Apply the action, specified by the InheritanceMaskActionOnAttributeSetting, to apply to the inheritance bit mask. More...
|
|
void | setImpostorsActive (bool active) |
| Switch the creation of Impostors on or off. More...
|
|
bool | getImpostorsActive () const |
| Get whether impostors are active or not. More...
|
|
void | setImpostorPixelErrorThreshold (float numPixels) |
| Set the impostor error threshold. More...
|
|
float | getImpostorPixelErrorThreshold () const |
| Get the impostor error threshold. More...
|
|
void | setDepthSortImpostorSprites (bool doDepthSort) |
| Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering. More...
|
|
bool | getDepthSortImpostorSprites () const |
| Get whether ImpostorSprite's are depth sorted bin for rendering. More...
|
|
void | setNumberOfFrameToKeepImpostorSprites (int numFrames) |
| Set the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. More...
|
|
int | getNumberOfFrameToKeepImpostorSprites () const |
| Get the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. More...
|
|
void | setComputeNearFarMode (ComputeNearFarMode cnfm) |
|
ComputeNearFarMode | getComputeNearFarMode () const |
|
void | setNearFarRatio (double ratio) |
|
double | getNearFarRatio () const |
|
void | setCullingMode (CullingMode mode) |
| Set the culling mode for the CullVisitor to use. More...
|
|
CullingMode | getCullingMode () const |
| Returns the current CullingMode. More...
|
|
void | setCullMask (osg::Node::NodeMask nm) |
|
osg::Node::NodeMask | getCullMask () const |
|
void | setCullMaskLeft (osg::Node::NodeMask nm) |
|
osg::Node::NodeMask | getCullMaskLeft () const |
|
void | setCullMaskRight (osg::Node::NodeMask nm) |
|
osg::Node::NodeMask | getCullMaskRight () const |
|
void | setLODScale (float scale) |
| Set the LOD bias for the CullVisitor to use. More...
|
|
float | getLODScale () const |
| Get the LOD bias. More...
|
|
void | setSmallFeatureCullingPixelSize (float value) |
| Threshold at which small features are culled. More...
|
|
float | getSmallFeatureCullingPixelSize () const |
| Get the Small Feature Culling Pixel Size. More...
|
|
void | setClampProjectionMatrixCallback (ClampProjectionMatrixCallback *cpmc) |
| set the ClampProjectionMatrixCallback. More...
|
|
ClampProjectionMatrixCallback * | getClampProjectionMatrixCallback () |
| get the non const ClampProjectionMatrixCallback. More...
|
|
const ClampProjectionMatrixCallback * | getClampProjectionMatrixCallback () const |
| get the const ClampProjectionMatrixCallback. More...
|
|
void | write (std::ostream &out) |
| Write out internal settings of CullSettings. More...
|
|
A CullStack class which accumulates the current project, modelview matrices and the CullingSet.