Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
MoVec3SetElementIjk.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 : MoVec3SetElementIjk.h
25 * Classes : MoVec3SetElementIjk
26 * Author(s) : Pascal Doux
27 * Date : 6 6 2008
28 *==============================================================================
29 *
30 * Description : Element that stores a vector set Ijk.
31 *
32 *============================================================================*/
33
34#ifndef _MO_VECTORSET_ELEMENTIJK_
35#define _MO_VECTORSET_ELEMENTIJK_
36
37#include <Inventor/elements/SoAccumulatedElement.h>
38#include <MeshVizXLM/mesh/data/MiDataSetIjk.h>
39
40
46SoEXTENDER_Documented class MESHVIZXLM_DMAP_API MoVec3SetElementIjk : public SoAccumulatedElement {
47
48 SO_ELEMENT_HEADER(MoVec3SetElementIjk);
49
50 public:
54 static void add(SoState *state, SoNode *node,const MiVec3dSetIjk *vectorSet);
55
59 static int getNum(SoState *state);
60
64 static const MiVec3dSetIjk * get(SoState *state,int index);
65
69 virtual void push(SoState *);
70
71private:
72
74 virtual void init(SoState *state);
75
76private:
77 // Initializes the class
78 static void initClass();
79 static void exitClass() ;
80
81 private:
82
83 SbPList m_vectorSets; // List of vector sets
84
85 virtual ~MoVec3SetElementIjk();
86
87};
88/*----------------------------------------------------------------------------*/
89
90#endif // _MO_VECTORSET_ELEMENTIJK_
91
92
<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 vector3...
static void add(SoState *state, SoNode *node, const MiVec3dSetIjk *vectorSet)
Adds a ScalarSet to the current set in the state.
static int getNum(SoState *state)
Get number of elements in the state.
static const MiVec3dSetIjk * get(SoState *state, int index)
Get the element number index from the state.
virtual void push(SoState *)
Push the element into 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