VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions
makVrv::DtIndirectAggregateHelper Class Reference

helper class to the DtIndirectGeometryAggregator. More...

Public Member Functions

 DtIndirectAggregateHelper ()
 Default Constructor not implemented. More...
 
virtual ~DtIndirectAggregateHelper ()
 Destructor. More...
 
virtual void setAggregateGeometry (osg::Geometry *aggregatedGeometry)
 which geometry is being helped More...
 
virtual void setModelName (const std::string &modelname)
 used for error messages More...
 
virtual bool checkGeometryOk (const osg::Geometry &srcGeometry)
 Does the geometry check out for the purposes of indirecting? More...
 
virtual void copyVertices (const osg::Geometry &srcGeometry, const osg::Matrix &transform)
 copy the vertices from geometry into the aggregated geometry More...
 
virtual bool checkSrcAndDstVerticesOk (const osg::Geometry &srcGeometry)
 check if the src and dst (aggregated geometry held here) vertices check out More...
 
virtual void copyNormals (const osg::Geometry &srcGeometry)
 copy the normals from geometry into the aggregated geometry More...
 
virtual bool checkSrcAndDstNormalsOk (const osg::Geometry &srcGeometry)
 check if the src and dst (aggregated geometry held here) normals check out More...
 
virtual void copyColors (const osg::Geometry &srcGeometry)
 copy the colors from geometry into the aggregated geometry More...
 
virtual bool checkSrcAndDstColorsOk (const osg::Geometry &srcGeometry)
 check if the src and dst (aggregated geometry held here) colors check out More...
 
virtual void copyTextureCoords (const osg::Geometry &srcGeometry, const DtIndirectGeometryTextures *textureForThisGeometry)
 copy the texture coordinates from geometry into the aggregated geometry More...
 
virtual bool checkSrcTextureCoordsOk (const osg::Geometry &srcGeometry)
 check if the src texture coordinates check out More...
 
virtual bool checkDstIndicesOk (const osg::Geometry &srcGeometry)
 check if the dst (of aggregated geometry held here) indices check out More...
 
virtual void copyIndices (Indices &indices, const osg::Geometry &srcGeometry)
 copy the indices from geometry into the aggregated geometry More...
 
virtual void cancel ()
 called when the DtAggregatedGeometry is being destroyed so we can early out of the copy process More...
 

Protected Attributes

std::string myModelFileName
 
osg::ref_ptr< osg::Geometry > myAggregatedGeometry
 
DtIndirectAggregateIndicesHelpermyIndicesHelper
 
tbb::atomic< intmyCancelTask
 

Private Member Functions

 DtIndirectAggregateHelper (const DtIndirectAggregateHelper &other)
 Copy Constructor not implemented – Copy Not sAllowed. More...
 
DtIndirectAggregateHelperoperator= (const DtIndirectAggregateHelper &other)
 Assignment Operator Not implemented – Assignment Not Allowed. More...
 

Detailed Description

helper class to the DtIndirectGeometryAggregator.

It provides methods for checking and copying the data into the aggregatedGeometry

Constructor & Destructor Documentation

makVrv::DtIndirectAggregateHelper::DtIndirectAggregateHelper ( )

Default Constructor not implemented.

virtual makVrv::DtIndirectAggregateHelper::~DtIndirectAggregateHelper ( )
virtual

Destructor.

makVrv::DtIndirectAggregateHelper::DtIndirectAggregateHelper ( const DtIndirectAggregateHelper other)
private

Copy Constructor not implemented – Copy Not sAllowed.

Member Function Documentation

DtIndirectAggregateHelper& makVrv::DtIndirectAggregateHelper::operator= ( const DtIndirectAggregateHelper other)
private

Assignment Operator Not implemented – Assignment Not Allowed.

virtual void makVrv::DtIndirectAggregateHelper::setAggregateGeometry ( osg::Geometry *  aggregatedGeometry)
virtual

which geometry is being helped

virtual void makVrv::DtIndirectAggregateHelper::setModelName ( const std::string &  modelname)
virtual

used for error messages

virtual bool makVrv::DtIndirectAggregateHelper::checkGeometryOk ( const osg::Geometry &  srcGeometry)
virtual

Does the geometry check out for the purposes of indirecting?

virtual void makVrv::DtIndirectAggregateHelper::copyVertices ( const osg::Geometry &  srcGeometry,
const osg::Matrix &  transform 
)
virtual

copy the vertices from geometry into the aggregated geometry

virtual bool makVrv::DtIndirectAggregateHelper::checkSrcAndDstVerticesOk ( const osg::Geometry &  srcGeometry)
virtual

check if the src and dst (aggregated geometry held here) vertices check out

virtual void makVrv::DtIndirectAggregateHelper::copyNormals ( const osg::Geometry &  srcGeometry)
virtual

copy the normals from geometry into the aggregated geometry

virtual bool makVrv::DtIndirectAggregateHelper::checkSrcAndDstNormalsOk ( const osg::Geometry &  srcGeometry)
virtual

check if the src and dst (aggregated geometry held here) normals check out

virtual void makVrv::DtIndirectAggregateHelper::copyColors ( const osg::Geometry &  srcGeometry)
virtual

copy the colors from geometry into the aggregated geometry

virtual bool makVrv::DtIndirectAggregateHelper::checkSrcAndDstColorsOk ( const osg::Geometry &  srcGeometry)
virtual

check if the src and dst (aggregated geometry held here) colors check out

virtual void makVrv::DtIndirectAggregateHelper::copyTextureCoords ( const osg::Geometry &  srcGeometry,
const DtIndirectGeometryTextures textureForThisGeometry 
)
virtual

copy the texture coordinates from geometry into the aggregated geometry

virtual bool makVrv::DtIndirectAggregateHelper::checkSrcTextureCoordsOk ( const osg::Geometry &  srcGeometry)
virtual

check if the src texture coordinates check out

virtual bool makVrv::DtIndirectAggregateHelper::checkDstIndicesOk ( const osg::Geometry &  srcGeometry)
virtual

check if the dst (of aggregated geometry held here) indices check out

virtual void makVrv::DtIndirectAggregateHelper::copyIndices ( Indices indices,
const osg::Geometry &  srcGeometry 
)
virtual

copy the indices from geometry into the aggregated geometry

virtual void makVrv::DtIndirectAggregateHelper::cancel ( )
virtual

called when the DtAggregatedGeometry is being destroyed so we can early out of the copy process

Member Data Documentation

std::string makVrv::DtIndirectAggregateHelper::myModelFileName
protected
osg::ref_ptr<osg::Geometry> makVrv::DtIndirectAggregateHelper::myAggregatedGeometry
protected
DtIndirectAggregateIndicesHelper* makVrv::DtIndirectAggregateHelper::myIndicesHelper
protected
tbb::atomic<int> makVrv::DtIndirectAggregateHelper::myCancelTask
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)