MeshTex  3.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
GetInfoDialog::GetInfoVisitor Class Reference

Visitor for interrogating a mesh. More...

Inheritance diagram for GetInfoDialog::GetInfoVisitor:
MeshVisitor RefCounted

List of all members.

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

Detailed Description

Visitor for interrogating a mesh.


Constructor & Destructor Documentation

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.

Parameters:
refRowPointer to reference row number; NULL if none.
refColPointer to reference column number; NULL if none.
rowTexInfoCallbackPointer to callback for reference row info; NULL if none.
colTexInfoCallbackPointer to callback for reference column info; NULL if none.

Member Function Documentation

bool GetInfoDialog::GetInfoVisitor::Execute ( MeshEntity meshEntity) const
privatevirtual

Visitor action; invoke MeshEntity::GetInfo on a mesh.

Parameters:
[in,out]meshEntityThe mesh.
Returns:
true.

Reimplemented from MeshVisitor.


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