Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
MoScalarSetElementIjk.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 (MMM YYYY)
22**=======================================================================*/
23/*==============================================================================
24 * File : MoScalarSetElementIjk.h
25 * Classes : MoScalarSetElementIjk
26 * Author(s) : Pascal Doux
27 * Date : 6 6 2008
28 *==============================================================================
29 *
30 * Description : Element that stores a scalar set Ijk.
31 *
32 *============================================================================*/
33
34#ifndef _MO_SCALARSET_ELEMENTIJK_
35#define _MO_SCALARSET_ELEMENTIJK_
36
37#include <Inventor/elements/SoAccumulatedElement.h>
38#include <MeshVizXLM/mesh/data/MiDataSetIjk.h>
39
40
51SoEXTENDER_Documented class MESHVIZXLM_DMAP_API MoScalarSetElementIjk : public SoAccumulatedElement {
52
53 SO_ELEMENT_HEADER(MoScalarSetElementIjk);
54
55 public:
59 static void add(SoState *state, SoNode *node,const MiScalardSetIjk *scalarSet);
60
64 static int getNum(SoState *state);
65
69 static const MiScalardSetIjk * get(SoState *state,int index);
70
74 virtual void push(SoState *);
75
76private:
77
79 virtual void init(SoState *state);
80
81private:
82 // Initializes the class
83 static void initClass();
84 static void exitClass() ;
85
86 private:
87
88 SbPList m_scalarSets; // List of scalar sets
89
90 virtual ~MoScalarSetElementIjk();
91
92};
93/*----------------------------------------------------------------------------*/
94
95#endif // _MO_SCALARSET_ELEMENT_
96
97
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic data set interfa...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Stores a list of scalar ...
static int getNum(SoState *state)
Get number of elements in the state.
static const MiScalardSetIjk * get(SoState *state, int index)
Get the element number index from the state.
virtual void push(SoState *)
Push the element into the state.
static void add(SoState *state, SoNode *node, const MiScalardSetIjk *scalarSet)
Adds a ScalarSet to the current set in the state.
List of generic (void *) pointers.
Definition SbPList.h:77
Abstract base class for each state element whose value may be accumulated when it is set.
Abstract base class for all database nodes.
Definition SoNode.h:145
Traversal state.
Definition SoState.h:74