Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MoMeshElevatedPlaneSlice.h
Go to the documentation of this file.
1/*=======================================================================
2 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4 *** ***
5 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8 *** ***
9 *** RESTRICTED RIGHTS LEGEND ***
10 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15 *** ***
16 *** COPYRIGHT (C) 1996-2017 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#ifndef _MO_MESHELEVATEDPLANESLICE_
24#define _MO_MESHELEVATEDPLANESLICE_
25
26#include <MeshVizXLM/MbVec3.h>
27
29
32
33#ifdef _WIN32
34#pragma warning(push)
35#pragma warning(disable:4251)
36#endif
37
74
76
77 public:
78
83
89
100
101 /*----------------------------------------------------------------------------*/
102 private:
103 static void initClass() ;
104 static void exitClass() ;
105
106 private:
107 virtual void doExtract( SoAction *action );
108
109 private:
110 virtual ~MoMeshElevatedPlaneSlice() ;
111
112 template<typename _MeshInterface, typename _Extractor, typename _ScalarSet, typename _MoScalarSet, typename _CellFilter>
113 void doExtract( SoState * state, const _MeshInterface* mesh, _Extractor** extractor );
114
115 template<typename _Extractor, typename _ScalarSet, typename _MoScalarSet, typename _CellFilter>
116 void extract( SoState * state, _Extractor* extractor, const _CellFilter *cellFilter );
117
118 void computePlane(MbVec3d& normal, double& distance);
119
120 // Extractors used internally
121 MiPlaneSliceExtractUnstructured* m_planeSliceExtractU;
122 MiPlaneSliceExtractHexahedronIjk* m_planeSliceExtractUIjk;
123 MiPlaneSliceExtractIjk* m_planeSliceExtractIjk;
124} ;
125
126#ifdef _WIN32
127#pragma warning(pop)
128#endif
129
130#endif /* _MO_MESHELEVATEDPLANESLICE_ */
131
132
133
#define MESHVIZXLM_DMAP_API
#define SO_NODE_HEADER(className)
Definition SoSubNode.h:151
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Plane slice extractor fo...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Plane slice extractor fo...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Plane slice extractor fo...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Rendering node that disp...
MoMeshElevatedPlaneSlice()
Constructor.
SoSFInt32 elevationScalarSetId
The scalar set to be used to map elevation onto the representation.
SoSFDouble scaleFactor
The scaleFactor can be set to control the height of extruded cells.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Rendering node that disp...
Abstract base class for all actions.
Definition SoAction.h:132
Field containing a floating-point value.
Definition SoSFDouble.h:53
Field containing a int32_t integer.
Definition SoSFInt32.h:80
Traversal state.
Definition SoState.h:74