Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SbStructuredQuadrilateralMesh.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-2024 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Delphine Duclap (Sep 2017)
22**=======================================================================*/
23#ifndef _SB_STRUCTURED_QUADRILATERAL_MESH_H_
24#define _SB_STRUCTURED_QUADRILATERAL_MESH_H_
25
26#include <ImageViz/SoImageViz.h>
27#include <Inventor/SbVec.h>
29
30class SbStructuredQuadrilateralMeshImpl;
31class SoSurfaceUnfoldingProcessing3dImpl;
32class SoQuadrilateralMeshSlicerApproximation3dImpl;
33class SoDEPRECATED SbStructuredQuadrilateralMesh : public SoRefCounter
50{
51
52public:
54 SbStructuredQuadrilateralMesh( size_t numCellsI, size_t numCellsJ );
55
58
62 size_t getNumCellsI() const;
63
67 size_t getNumCellsJ() const;
68
76 void setVertex( size_t i, size_t j, SbVec3f vertex );
77
84 SbVec3f getVertex( size_t i, size_t j ) const;
85
86private:
87
88 SbStructuredQuadrilateralMeshImpl* m_p;
89
90 friend class SoSurfaceUnfoldingProcessing3dImpl;
91 friend class SoQuadrilateralMeshSlicerApproximation3dImpl;
92
93};
94
95#endif
<a href="IconLegend.html"><img src="extIP.gif" alt="ImageViz" border="0"></a> Structured quadrilater...
SbStructuredQuadrilateralMesh(size_t numCellsI, size_t numCellsJ)
Constructor requiring the mesh number of cells in row and column.
void setVertex(size_t i, size_t j, SbVec3f vertex)
Sets the position of a vertex.
SbVec3f getVertex(size_t i, size_t j) const
Returns the vertex position.
size_t getNumCellsI() const
Returns the mesh number of cell by row.
size_t getNumCellsJ() const
Returns the mesh number of cell by column.
virtual ~SbStructuredQuadrilateralMesh()
Destructor.
3D vector class.
Definition SbVec.h:932
Base class for ref-counted objects.