MeshTex  3.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
SetScaleDialog::SetScaleVisitor Class Reference

Visitor for applying the chosen scaling to a mesh. More...

Inheritance diagram for SetScaleDialog::SetScaleVisitor:
MeshVisitor RefCounted

List of all members.

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

Detailed Description

Visitor for applying the chosen scaling to a mesh.


Constructor & Destructor Documentation

SetScaleDialog::SetScaleVisitor::SetScaleVisitor ( const SliceArgs rowArgs,
const SliceArgs colArgs 
)

Constructor.

Parameters:
rowArgsThe row (S axis) arguments; NULL if none.
colArgsThe column (T axis) arguments; NULL if none.

Member Function Documentation

bool SetScaleDialog::SetScaleVisitor::Execute ( MeshEntity meshEntity) const
privatevirtual

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

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

Reimplemented from MeshVisitor.


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