Visitor for applying the chosen equation to a mesh. More...
Public Member Functions | |
GeneralFunctionVisitor (const MeshEntity::GeneralFunctionFactors *sFactors, const MeshEntity::GeneralFunctionFactors *tFactors, const MeshEntity::SliceDesignation *alignRow, const MeshEntity::SliceDesignation *alignCol, const MeshEntity::RefSliceDescriptor *refRow, const MeshEntity::RefSliceDescriptor *refCol, bool surfaceValues) | |
Constructor. | |
![]() | |
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. | |
![]() | |
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::GeneralFunction on a mesh. |
Private Attributes | |
const MeshEntity::GeneralFunctionFactors * | _sFactors |
const MeshEntity::GeneralFunctionFactors * | _tFactors |
const MeshEntity::SliceDesignation * | _alignRow |
const MeshEntity::SliceDesignation * | _alignCol |
const MeshEntity::RefSliceDescriptor * | _refRow |
const MeshEntity::RefSliceDescriptor * | _refCol |
bool | _surfaceValues |
Visitor for applying the chosen equation to a mesh.
GeneralFunctionDialog::GeneralFunctionVisitor::GeneralFunctionVisitor | ( | const MeshEntity::GeneralFunctionFactors * | sFactors, |
const MeshEntity::GeneralFunctionFactors * | tFactors, | ||
const MeshEntity::SliceDesignation * | alignRow, | ||
const MeshEntity::SliceDesignation * | alignCol, | ||
const MeshEntity::RefSliceDescriptor * | refRow, | ||
const MeshEntity::RefSliceDescriptor * | refCol, | ||
bool | surfaceValues | ||
) |
Constructor.
See MeshEntity::GeneralFunction for details of how these arguments are interpreted.
sFactors | Factors to determine the S texture coords; NULL if S axis unaffected. |
tFactors | Factors to determine the T texture coords; NULL if T axis unaffected. |
alignRow | Pointer to zero-point row; if NULL, row 0 is assumed. |
alignCol | Pointer to zero-point column; if NULL, column 0 is assumed. |
refRow | Pointer to reference row description, including how to use the reference; NULL if no reference. |
refCol | Pointer to reference column description, including how to use the reference; NULL if no reference. |
surfaceValues | true if calculations are for S/T values on the mesh surface; false if calculations are for S/T values at the control points. |
|
privatevirtual |
Visitor action; invoke MeshEntity::GeneralFunction on a mesh.
[in,out] | meshEntity | The mesh. |
Reimplemented from MeshVisitor.