MeshKit
1.0
|
A base class for transforming copied meshes. More...
#include <meshkit/Transform.hpp>
Public Member Functions | |
virtual void | transform (iMesh *mesh, const std::vector< iMesh::EntityHandle > &src, std::vector< iMesh::EntityHandle > &dest) const =0 |
Transform the selected vertices. | |
virtual Transform * | clone () const =0 |
Clone this transform object. | |
virtual | ~Transform () |
Virtual destructor. |
A base class for transforming copied meshes.
This is the common base class used to transform vertices in copied meshes. Subclasses of this type implement particular transformation functions, e.g. translation or rotation.
Definition at line 22 of file TransformBase.hpp.
virtual ~Transform | ( | ) | [inline, virtual] |
Virtual destructor.
Definition at line 40 of file TransformBase.hpp.
Clone this transform object.
Implemented in BasicTransform< T >, BasicTransform< Identity >, BasicTransform< Translate >, and BasicTransform< Rotate >.
virtual void transform | ( | iMesh * | mesh, |
const std::vector< iMesh::EntityHandle > & | src, | ||
std::vector< iMesh::EntityHandle > & | dest | ||
) | const [pure virtual] |
Transform the selected vertices.
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< Identity >, BasicTransform< Translate >, and BasicTransform< Rotate >.