MeshKit  1.0
Transform Class Reference

A base class for transforming extruded meshes. More...

#include <meshkit/Transform.hpp>

Inheritance diagram for Transform:

List of all members.

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 Transformclone () const =0
 Clone this transform object.
virtual ~Transform ()
 Virtual destructor.

Detailed Description

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.


Constructor & Destructor Documentation

virtual ~Transform ( ) [inline, virtual]

Virtual destructor.

Definition at line 138 of file TransformBase.hpp.


Member Function Documentation

virtual Transform* clone ( ) const [pure virtual]

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.

Parameters:
stepthe step number for the extrusion, with 0 being the already-existing mesh data
meshthe iMesh implementation holding the vertices
srcan array of the source vertices
destan array of the destination vertices

Implemented in BasicTransform< T >, BasicTransform< Translate >, and BasicTransform< Rotate >.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines