00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : VSG (MMM YYYY) 00022 **=======================================================================*/ 00023 #ifndef _MO_MESHISOSURFACE_ 00024 #define _MO_MESHISOSURFACE_ 00025 00026 #include <MeshVizXLM/mapping/nodes/MoMeshSurfaceRepresentation.h> 00027 00028 #include <Inventor/fields/SoSFFloat.h> 00029 00030 #ifdef _WIN32 00031 #pragma warning(push) 00032 #pragma warning(disable:4251) 00033 #endif 00034 00035 class MiIsosurfExtractUnstructured; 00036 class MiIsosurfExtractUnstructuredIjk; 00037 class MiIsosurfExtractIjk; 00038 class MiVolumeMeshUnstructured; 00039 class MiVolumeMeshUnstructuredIjk; 00040 class MiVolumeMeshHexahedronIjk; 00041 class MiVolumeMeshRegular; 00042 class MiVolumeMeshRectilinear; 00043 class MiVolumeMeshCurvilinear; 00044 00087 class MESHIVIZDM_API MoMeshIsosurface : public MoMeshSurfaceRepresentation { 00088 00089 SO_NODE_HEADER(MoMeshIsosurface) ; 00090 00091 public: 00092 00096 MoMeshIsosurface() ; 00097 00101 SoSFFloat isovalue; 00102 00110 SoSFInt32 isoScalarSetId; 00111 00113 00120 const MiIsosurfExtractUnstructured* getUnstructuredExtractor(); 00121 const MiIsosurfExtractUnstructuredIjk* getUnstructuredIjkExtractor(); 00122 const MiIsosurfExtractIjk* getIjkExtractor(); 00124 00125 #if 1 SoDEPRECATED 00128 const MiIsosurfExtractIjk* getRegularExtractor(); 00129 00130 #endif 00132 /*----------------------------------------------------------------------------*/ 00133 private: 00134 static void initClass() ; 00135 static void exitClass() ; 00136 00137 private: 00138 virtual void doExtract(SoAction *action); 00139 00140 private: 00141 virtual ~MoMeshIsosurface() ; 00142 00143 } ; 00144 00145 #ifdef _WIN32 00146 #pragma warning(pop) 00147 #endif 00148 00149 #endif /* _MO_MESHISOSURFACE_ */ 00150 00151 00152 00153