Public Member Functions | |
MeshTransformation () | |
MeshTransformation (Playa::Handleable< MeshTransformationBase > *rawPtr) | |
MeshTransformation (const RCP< MeshTransformationBase > &smartPtr) | |
Mesh | apply (const Mesh &inputMesh) const |
const bool & | serializeLocal () const |
bool & | serializeLocal () |
Private Attributes | |
bool | serializeLocal_ |
extrude a 2D mesh into 2D
// create a 2D mesh MeshType meshType = new BasicSimplicialMeshType(); MeshSource mesher = new PartitionedRectangleMesher(0.0, 1.0, 10, 1, 0.0, 1.0, 10, 1, meshType); Mesh mesh2D = mesher.getMesh(); // create a filter for extruding 2 levels between z=0.0 and z=0.2 MeshTransformation extruder = new ExtrusionMeshTransformation(0.0, 0.2, 2); // perform the extrusion Mesh mesh3D = extruder.apply(mesh2D);
Definition at line 60 of file SundanceMeshTransformation.hpp.
MeshTransformation::MeshTransformation | ( | ) |
Construct an empty mesh filter object
Definition at line 10 of file SundanceMeshTransformation.cpp.
MeshTransformation::MeshTransformation | ( | Playa::Handleable< MeshTransformationBase > * | rawPtr | ) |
Construct from a raw pointer to a mesh filter subtype
Definition at line 14 of file SundanceMeshTransformation.cpp.
MeshTransformation::MeshTransformation | ( | const RCP< MeshTransformationBase > & | smartPtr | ) |
Construct from a smart pointer to a mesh filter subtype
Definition at line 19 of file SundanceMeshTransformation.cpp.
apply the filter to create a new mesh
Definition at line 23 of file SundanceMeshTransformation.cpp.
References Playa::Handle< MeshTransformationBase >::ptr().
bool& Sundance::MeshTransformation::serializeLocal | ( | ) | [inline] |
const bool& Sundance::MeshTransformation::serializeLocal | ( | ) | const [inline] |
bool Sundance::MeshTransformation::serializeLocal_ [private] |