Visitor for interrogating a mesh. More...
Public Member Functions | |
| GetInfoVisitor (const int *refRow, const int *refCol, const MeshEntity::TexInfoCallback *rowTexInfoCallback, const MeshEntity::TexInfoCallback *colTexInfoCallback) | |
| Constructor. | |
Public Member Functions inherited from MeshVisitor | |
| MeshVisitor () | |
| Default constructor. | |
| virtual | ~MeshVisitor () |
| Virtual destructor. | |
| void | ResetVisitedCount () |
| Reset the visited count to zero. | |
| unsigned | GetVisitedCount () |
| Get the visited count. | |
| void | visit (scene::Instance &instance) const |
| Visit a specified scene graph node. | |
Public Member Functions inherited from RefCounted | |
| RefCounted () | |
| Default constructor. | |
| virtual | ~RefCounted () |
| Virtual destructor. | |
| void | IncRef () |
| Increment reference count. | |
| void | DecRef () |
| Decrement reference count, and self-delete if count is <= 0. | |
Private Member Functions | |
| bool | Execute (MeshEntity &meshEntity) const |
| Visitor action; invoke MeshEntity::GetInfo on a mesh. | |
Private Attributes | |
| const int * | _refRow |
| const int * | _refCol |
| const MeshEntity::TexInfoCallback * | _rowTexInfoCallback |
| const MeshEntity::TexInfoCallback * | _colTexInfoCallback |
Visitor for interrogating a mesh.
| GetInfoDialog::GetInfoVisitor::GetInfoVisitor | ( | const int * | refRow, |
| const int * | refCol, | ||
| const MeshEntity::TexInfoCallback * | rowTexInfoCallback, | ||
| const MeshEntity::TexInfoCallback * | colTexInfoCallback | ||
| ) |
Constructor.
See MeshEntity::GetInfo for details of how these arguments are interpreted.
| refRow | Pointer to reference row number; NULL if none. |
| refCol | Pointer to reference column number; NULL if none. |
| rowTexInfoCallback | Pointer to callback for reference row info; NULL if none. |
| colTexInfoCallback | Pointer to callback for reference column info; NULL if none. |
|
privatevirtual |
Visitor action; invoke MeshEntity::GetInfo on a mesh.
| [in,out] | meshEntity | The mesh. |
Reimplemented from MeshVisitor.