Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
MoScalarSet.h
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 (Oct 2011)
22**=======================================================================*/
23
24#ifndef _MoScalarSet_H
25#define _MoScalarSet_H
26
27#include <MeshVizXLM/mapping/MoMeshVizDataMapping.h>
28#include <MeshVizXLM/mapping/nodes/MoActionNode.h>
29#include <MeshVizXLM/mesh/data/MiTypedDataSet.h>
30
69class MESHVIZXLM_DMAP_API MoScalarSet : public MoActionNode {
70
71 SO_NODE_HEADER(MoScalarSet) ;
72
73 public:
74
79
88 virtual void setScalarSet(const MiScalardSet* scalarSet);
89
94 virtual void reset();
95
100 virtual const MiScalardSet* getScalarSet();
101
102 /*----------------------------------------------------------------------------*/
103 private:
104 static void initClass() ;
105 static void exitClass() ;
106
107 private:
108 virtual void doAction(SoAction *action) ;
109
110private:
111 virtual ~MoScalarSet() ;
112
113 const MiScalardSet* m_scalarSet;
114
115} ;
116
117#endif /* _MoScalarSet_H */
118
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic typed data set i...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Utility class that provi...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Property node that store...
Definition MoScalarSet.h:69
virtual void reset()
Reset the associated scalar set to null (as if setScalarSet was called with null).
MoScalarSet()
Constructor.
virtual const MiScalardSet * getScalarSet()
Gets the associated scalar set interface.
virtual void setScalarSet(const MiScalardSet *scalarSet)
Provides a common interface for setting any scalar set type (MiScalardSetI, MiScalardSetIj or MiScala...
Abstract base class for all actions.
Definition SoAction.h:132