MeshKit
1.0
|
A base class for transforming extruded meshes. More...
#include <meshkit/Transform.hpp>
Public Member Functions | |
virtual void | transform (int step, iMesh *mesh, const std::vector< iMesh::EntityHandle > &src, std::vector< iMesh::EntityHandle > &dest) const =0 |
Transform the selected vertices. | |
virtual int | steps () const =0 |
The number of steps in this extrusion. | |
virtual Transform * | clone () const =0 |
Clone this transform object. | |
virtual | ~Transform () |
Virtual destructor. |
A base class for transforming extruded meshes.
This is the common base class used to transform vertices in extruded meshes. Subclasses of this type implement particular transformation functions, e.g. translation or rotation.
Definition at line 114 of file TransformBase.hpp.
virtual ~Transform | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 138 of file TransformBase.hpp.
Clone this transform object.
Implemented in BasicTransform< T >, BasicTransform< Translate >, and BasicTransform< Rotate >.
virtual int steps | ( | ) | const [pure virtual] |
The number of steps in this extrusion.
Implemented in BasicTransform< T >, BasicTransform< Translate >, and BasicTransform< Rotate >.
virtual void transform | ( | int | step, |
iMesh * | mesh, | ||
const std::vector< iMesh::EntityHandle > & | src, | ||
std::vector< iMesh::EntityHandle > & | dest | ||
) | const [pure virtual] |
Transform the selected vertices.
step | the step number for the extrusion, with 0 being the already-existing mesh data |
mesh | the iMesh implementation holding the vertices |
src | an array of the source vertices |
dest | an array of the destination vertices |
Implemented in BasicTransform< T >, BasicTransform< Translate >, and BasicTransform< Rotate >.