Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoLDMDataTransform.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-2024 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : VSG (MMM YYYY)
22**=======================================================================*/
23
24
25#ifndef LDM_DATA_TRANSFROM_H
26#define LDM_DATA_TRANSFROM_H
27
28#include <LDM/SoLDMLargeDataManagement.h>
29
30#include <Inventor/fields/SoFieldContainer.h>
31#include <Inventor/fields/SoSFVec3i32.h>
32#include <Inventor/SbLinear.h>
33#include <Inventor/SbBox.h>
34
35class SoDataSet;
36class SoBufferObject;
37
79{
80 SO_FIELDCONTAINER_ABSTRACT_HEADER(SoLDMDataTransform);
81public:
82
107 virtual void transformFunction(
108 SoDataSet* ds, // current dataset
109 const SbVec3i32& bufferDimension, // tile dim
110 SoBufferObject* bufferToTransform, // buffer to transform
111 const SbBox3i32& dataBox, // position of tile in data space
112 int resolutionLevel // resolution level of the tile
113 )=0;
114
120 virtual bool affect( const SbBox3i32& region ) const;
121
129 virtual void getAffectedRegion( std::vector<SbBox3i32>& regions ) const;
130
131 private:
132
149 SoSFVec3i32 regionPrecision;
150
151private:
152
157
159 virtual ~SoLDMDataTransform();
160
161};
162
163#endif /* LDM_DATA_TRANSFROM_H */
164
165
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D box class.
Definition SbBox.h:96
3D vector class.
Definition SbVec.h:1517
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> Data set...
Definition SoDataSet.h:139
Abstract base class for objects that contain fields.
<a href="IconLegend.html"><img src="extLDM.gif" alt="Large Data Management" border="0"></a> LDM data...
virtual void getAffectedRegion(std::vector< SbBox3i32 > &regions) const
Returns a list of IJK bounding boxes affected by this transformation.
virtual bool affect(const SbBox3i32 &region) const
Returns true if the transformation affects the specified region.
virtual void transformFunction(SoDataSet *ds, const SbVec3i32 &bufferDimension, SoBufferObject *bufferToTransform, const SbBox3i32 &dataBox, int resolutionLevel)=0
Data transform function.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Definition SoSFVec3i32.h:48