Visitor for applying the chosen scaling to a mesh. More...
Classes | |
| struct | SliceArgs |
| Encapsulation of all the arguments that can affect either the S or T texture axis. More... | |
Public Member Functions | |
| SetScaleVisitor (const SliceArgs *rowArgs, const SliceArgs *colArgs) | |
| 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::SetScale on a mesh. | |
Private Attributes | |
| const SliceArgs * | _rowArgs |
| const SliceArgs * | _colArgs |
Visitor for applying the chosen scaling to a mesh.
| SetScaleDialog::SetScaleVisitor::SetScaleVisitor | ( | const SliceArgs * | rowArgs, |
| const SliceArgs * | colArgs | ||
| ) |
Constructor.
| rowArgs | The row (S axis) arguments; NULL if none. |
| colArgs | The column (T axis) arguments; NULL if none. |
|
privatevirtual |
Visitor action; invoke MeshEntity::SetScale on a mesh.
| [in,out] | meshEntity | The mesh entity. |
Reimplemented from MeshVisitor.