00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _MiPlaneSliceExtractIjk_h
00024 #define _MiPlaneSliceExtractIjk_h
00025
00026 #include <MeshVizXLM/extractors/MiBaseExtractor.h>
00027 #include <MeshVizXLM/mesh/data/MiDataSetIjk.h>
00028 #include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
00029 #include <MeshVizXLM/extrmesh/MeXSurfaceMeshUnstructured.h>
00030
00031 class MiCellFilterIjk;
00032 class MiVolumeMeshRegular;
00033 class MiVolumeMeshCurvilinear;
00034 class MiVolumeMeshRectilinear;
00035 class MiVolumeMeshVertexHexahedronIjk;
00036 class MiTessellator;
00037
00047 class MESHIVIZ_API MiPlaneSliceExtractIjk : virtual public MiBaseExtractor
00048 {
00049 public:
00050 virtual ~MiPlaneSliceExtractIjk() {}
00051
00053
00056 static MiPlaneSliceExtractIjk* getNewInstance(const MiVolumeMeshRegular& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
00057 static MiPlaneSliceExtractIjk* getNewInstance(const MiVolumeMeshCurvilinear& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
00058 static MiPlaneSliceExtractIjk* getNewInstance(const MiVolumeMeshRectilinear& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
00059 static MiPlaneSliceExtractIjk* getNewInstance(const MiVolumeMeshVertexHexahedronIjk& mesh, bool parallel = true, MiTessellator* tessellator=NULL);
00061
00071 virtual const MeXSurfaceMeshUnstructured& extractSlice(const MbVec3<double>& normal, double distance, const MiCellFilterIjk* cellFilter=NULL) = 0;
00072
00080 virtual const MeXScalardSetI& extractScalarSet(const MiScalardSetIjk& inputSet) = 0;
00081
00089 virtual const MeXVec3dSetI& extractVec3Set(const MiVec3dSetIjk& inputSet) = 0;
00090
00094 virtual const MeXSurfaceMeshUnstructured& getExtract() const = 0;
00095
00096 };
00097
00098 #endif
00099
00100
00101