MeshKit  1.0
Transform Class Reference

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

#include <meshkit/Transform.hpp>

Inheritance diagram for Transform:

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

virtual ~Transform ( ) [inline, virtual]

Virtual destructor.

Definition at line 40 of file TransformBase.hpp.


Member Function Documentation

virtual Transform* clone ( ) const [pure virtual]
virtual void transform ( iMesh mesh,
const std::vector< iMesh::EntityHandle > &  src,
std::vector< iMesh::EntityHandle > &  dest 
) const [pure virtual]

Transform the selected vertices.

Parameters:
meshthe iMesh implementation holding the vertices
srcan array of the source vertices
destan array of the destination vertices

Implemented in BasicTransform< T >, BasicTransform< Identity >, 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