Helper class to manage instances This class allows you to add a DtInstance_64 Internally, however it stores this as a DtInstance (which the GPU can directly read) You must not derive from this class or declare virtual methods on this class, since this will affect the layout of an object of this class, and hence affect what the GPU expects.
More...
Detailed Description
Helper class to manage instances This class allows you to add a DtInstance_64 Internally, however it stores this as a DtInstance (which the GPU can directly read) You must not derive from this class or declare virtual methods on this class, since this will affect the layout of an object of this class, and hence affect what the GPU expects.
Constructor & Destructor Documentation
| makVrv::DtInstanceContainer::DtInstanceContainer |
( |
| ) |
|
| virtual makVrv::DtInstanceContainer::~DtInstanceContainer |
( |
| ) |
|
|
virtual |
DTOR.
Intentionally not virtual, since this affects the layout of the class
Member Function Documentation
| virtual void makVrv::DtInstanceContainer::addInstance |
( |
const DtInstance_64 & |
instance | ) |
|
|
virtual |
Add, remove, access instances.
| virtual void makVrv::DtInstanceContainer::removeAllInstances |
( |
void |
| ) |
|
|
virtual |
| virtual const Instances& makVrv::DtInstanceContainer::instances |
( |
void |
| ) |
const |
|
virtual |
| virtual void makVrv::DtInstanceContainer::setVisibility |
( |
bool |
visibility | ) |
|
|
virtual |
Set the visibility of all instances.
| virtual const DtInstance& makVrv::DtInstanceContainer::operator[] |
( |
int |
index | ) |
const |
|
virtual |
| virtual const Matrix4_64& makVrv::DtInstanceContainer::instanceXForm |
( |
int |
index | ) |
const |
|
virtual |
Set/Get the transform of an instance.
| virtual void makVrv::DtInstanceContainer::copyInstanceXFormInto |
( |
Matrix4_64 & |
xform, |
|
|
int |
index |
|
) |
| const |
|
virtual |
| virtual const SetInts& makVrv::DtInstanceContainer::uniqueModels |
( |
void |
| ) |
const |
|
virtual |
Get the set of all unique models across all the instances.
Member Data Documentation
| Instances makVrv::DtInstanceContainer::myInstances |
|
protected |
| SetInts makVrv::DtInstanceContainer::myUniqueModels |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrvIndirectRendering/DtInstanceContainer.h