Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
SoDataExtract.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-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23#if !defined SODATAEXTRACT_H
24#define SODATAEXTRACT_H
25
26#include <Inventor/SbDataType.h>
27
28#include <Inventor/STL/vector>
29
30#include <Inventor/algorithms/SoAlgorithmsDefs.h>
31
32class SoBufferObject;
34
54{
55public:
56
59
60private:
62 virtual ~SoDataExtract();
63
65 static void initClass();
66
68 static void exitClass();
69
70public:
76 virtual int getXSliceFromTile( SoBufferObject* inputTile, int dimx,int dimy,int dimz, int datumSize, int slice, SoBufferObject* outputSlice);
77
83 virtual int getYSliceFromTile( SoBufferObject* inputTile, int dimx,int dimy,int dimz, int datumSize, int slice, SoBufferObject* outputSlice);
84
90 virtual int getZSliceFromTile( SoBufferObject* inputTile, int dimx,int dimy,int dimz, int datumSize, int slice, SoBufferObject* outputSlice);
91
95 virtual int copyTile( SoBufferObject* inputTile,int tileDimx, int tileDimy, int tileDimz, int originX, int originY, int originZ, int datumSize,
96 int bufDimX, int bufDimY, int bufDimZ,int vMinX, int vMinY, int vMinZ, int vMaxX, int vMaxY, int vMaxZ,
97 SoBufferObject* outputBuffer );
98
102 virtual int copyPlane( SoBufferObject* inputTile, int tileDimX, int tileDimY, int tileDimZ, int originX, int originY, int originZ,
103 int datumSize, int bufDimX, int qminX, int qminY, int qminZ,
104 int qmaxX, int qmaxY, int qmaxZ, float normI, float normJ, float normK,
105 float distance, int xAxis, int yAxis, int zAxis, SoBufferObject* outputBuffer );
106
107};
108
109#endif //SODATAEXTRACT_H
110
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> CPU buffer objec...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Data extraction ...
virtual int getYSliceFromTile(SoBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject *outputSlice)
Extract an X axis slice Given a buffer containing an LDM volume data tile, extract the Nth slice of...
virtual int copyTile(SoBufferObject *inputTile, int tileDimx, int tileDimy, int tileDimz, int originX, int originY, int originZ, int datumSize, int bufDimX, int bufDimY, int bufDimZ, int vMinX, int vMinY, int vMinZ, int vMaxX, int vMaxY, int vMaxZ, SoBufferObject *outputBuffer)
Copy a tile.
SoDataExtract()
Constructor.
virtual int getZSliceFromTile(SoBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject *outputSlice)
Extract an X axis slice Given a buffer containing an LDM volume data tile, extract the Nth slice of...
virtual int copyPlane(SoBufferObject *inputTile, int tileDimX, int tileDimY, int tileDimZ, int originX, int originY, int originZ, int datumSize, int bufDimX, int qminX, int qminY, int qminZ, int qmaxX, int qmaxY, int qmaxZ, float normI, float normJ, float normK, float distance, int xAxis, int yAxis, int zAxis, SoBufferObject *outputBuffer)
Copy a plane.
virtual int getXSliceFromTile(SoBufferObject *inputTile, int dimx, int dimy, int dimz, int datumSize, int slice, SoBufferObject *outputSlice)
Extract an X axis slice Given a buffer containing an LDM volume data tile, extract the Nth slice of...