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-2018 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 MiIsosurfExtractHexahedronIjk; 00037 class MiIsosurfExtractIjk; 00038 00081 class MESHVIZXLM_DMAP_API MoMeshIsosurface : public MoMeshSurfaceRepresentation { 00082 00083 SO_NODE_HEADER(MoMeshIsosurface) ; 00084 00085 public: 00086 00090 MoMeshIsosurface() ; 00091 00095 SoSFFloat isovalue; 00096 00104 SoSFInt32 isoScalarSetId; 00105 00107 00114 const MiIsosurfExtractUnstructured* getUnstructuredExtractor(); 00115 const MiIsosurfExtractHexahedronIjk* getHexahedronIjkExtractor(); 00116 const MiIsosurfExtractIjk* getIjkExtractor(); 00118 00119 #if 1 SoDEPRECATED 00121 const MiIsosurfExtractHexahedronIjk* getUnstructuredIjkExtractor(); 00122 #endif 00124 #if 1 SoDEPRECATED 00127 const MiIsosurfExtractIjk* getRegularExtractor(); 00128 00129 #endif 00131 /*----------------------------------------------------------------------------*/ 00132 private: 00133 static void initClass() ; 00134 static void exitClass() ; 00135 00136 private: 00137 virtual void doExtract(SoAction *action); 00138 00139 private: 00140 virtual ~MoMeshIsosurface() ; 00141 00142 } ; 00143 00144 #ifdef _WIN32 00145 #pragma warning(pop) 00146 #endif 00147 00148 #endif /* _MO_MESHISOSURFACE_ */ 00149 00150 00151 00152