18#ifndef OSGSHADOW_MINIMALDRAWBOUNDSSHADOWMAP
19#define OSGSHADOW_MINIMALDRAWBOUNDSSHADOWMAP 1
98 _vd->performBoundAnalysis( camera );
115 _nc->run(
object, data);
120 _vd->recordShadowMapParams( );
BoundingBoxd BoundingBox
Definition BoundingBox:257
Matrixd Matrix
Definition Matrix:27
RefMatrixd RefMatrix
Definition Matrix:28
The osgShadow library is a NodeKit that extends the core scene graph to add support for a range of sh...
Definition ConvexPolyhedron:33
bool traverse(osg::Object *object, osg::Object *data)
traverse the nested callbacks or call NodeVisitor::traverse() if the object is Node,...
Camera - is a subclass of Transform which represents encapsulates the settings of a Camera.
Definition Camera:45
Draw callback for custom operations.
Definition Camera:595
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
Image class for encapsulating the storage texture image data.
Definition Image:179
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
virtual ~MinimalDrawBoundsShadowMap(void)
Classic protected OSG destructor.
MinimalDrawBoundsShadowMap()
Classic OSG constructor.
MinimalDrawBoundsShadowMap ThisClass
Convenient typedef used in definition of ViewData struct and methods.
Definition MinimalDrawBoundsShadowMap:30
META_ViewDependentShadowTechniqueData(ThisClass, ThisClass::ViewData)
MinimalDrawBoundsShadowMap(const MinimalDrawBoundsShadowMap &mdbsm, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Classic OSG cloning constructor.
MinimalShadowMap BaseClass
Convenient typedef used in definition of ViewData struct and methods.
Definition MinimalDrawBoundsShadowMap:32
META_Object(osgShadow, MinimalDrawBoundsShadowMap)
Declaration of standard OSG object methods.
Definition MinimalDrawBoundsShadowMap:50
void setShadowCameraProjectionMatrixPtr(osg::RefMatrix *projection)
Definition MinimalDrawBoundsShadowMap:58
virtual void releaseGLObjects(osg::State *=0) const
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics...
osg::ref_ptr< osg::RefMatrix > _projection
Definition MinimalDrawBoundsShadowMap:51
virtual void performBoundAnalysis(const osg::Camera &camera)
ViewData(void)
Definition MinimalDrawBoundsShadowMap:78
virtual void cullBoundAnalysisScene()
virtual void recordShadowMapParams()
osg::RefMatrix * getShadowCameraProjectionMatrixPtr(void)
Definition MinimalDrawBoundsShadowMap:61
virtual void resizeGLObjectBuffers(unsigned int maxSize)
virtual void cullShadowReceivingScene()
virtual void createDebugHUD()
virtual void init(ThisClass *st, osgUtil::CullVisitor *cv)
osg::ref_ptr< osg::Camera > _boundAnalysisCamera
Definition MinimalDrawBoundsShadowMap:55
osg::Vec2s _boundAnalysisSize
Definition MinimalDrawBoundsShadowMap:52
osg::ref_ptr< osg::Image > _boundAnalysisImage
Definition MinimalDrawBoundsShadowMap:53
osg::ref_ptr< osg::Texture2D > _boundAnalysisTexture
Definition MinimalDrawBoundsShadowMap:54
static osg::BoundingBox scanImage(const osg::Image *image, osg::Matrix m)
osg::observer_ptr< osg::Camera > _mainCamera
Definition MinimalDrawBoundsShadowMap:56
osg::observer_ptr< ViewData > _vd
Definition MinimalDrawBoundsShadowMap:101
CameraPostDrawCallback(ViewData *vd)
Definition MinimalDrawBoundsShadowMap:91
virtual bool run(osg::Object *object, osg::Object *data)
Invoke the callback, first parameter is the Object that the callback is attached to,...
Definition MinimalDrawBoundsShadowMap:110
osg::observer_ptr< ViewData > _vd
Definition MinimalDrawBoundsShadowMap:126
CameraCullCallback(ViewData *vd, osg::Callback *nc)
Definition MinimalDrawBoundsShadowMap:106
osg::ref_ptr< osg::Callback > _nc
Definition MinimalDrawBoundsShadowMap:127
MinimalShadowMap()
Classic OSG constructor.
Definition MinimalShadowMap:101
Basic NodeVisitor implementation for rendering a scene.
Definition CullVisitor:49
#define OSGSHADOW_EXPORT
Definition Export:39