Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoTexture3.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-2014 BY FEI S.A.S, ***
17 *** BORDEAUX, FRANCE ***
18 *** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20/*=======================================================================
21** Author : Patrick Vigneras (Nov 1999)
22**=======================================================================*/
23
24#ifndef _SO_TEXTURE_3_
25#define _SO_TEXTURE_3_
26
38
39class SoSensor;
40class SbThreadRWMutex;
41
43
45//
46// Class: SoTexture3
47//
48// Texture node.
49//
51
173class SoTexture3 : public SoTexture {
174
176
177 SO_PIMPL_PUBLIC_HEADER(SoTexture3);
178
179public:
180
182 enum Layout {
187
191 ARRAY = 1,
192 };
193
214
223
230
237
251
256
257 private:
258 virtual void doAction(SoAction *action);
259 virtual void GLRender(SoGLRenderAction *action);
260
261 private:
262 static void initClass();
263 static void exitClass();
264
265 // Manages field dependencies, when one of them change
266 virtual void fieldHasChanged( SoField *field ); // override of SoFieldContainer
267
268private:
269 // Reads stuff into instance. Returns FALSE on error.
270 virtual SbBool readInstance(SoInput *in, unsigned short flags);
271
272 virtual ~SoTexture3();
273
274private:
275
277};
278
279#endif /* _SO_TEXTURE_3_ */
280
#define SO_NODE_HEADER(className)
Definition SoSubNode.h:151
SO_PIMPL_PUBLIC_DECLARATION(SoTexture3)
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Portable readers...
Abstract base class for all actions.
Definition SoAction.h:132
Base class for all fields.
Definition SoField.h:234
Renders a scene graph using Open Inventor's Render Engine.
Used to read Open Inventor data files.
Definition SoInput.h:363
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Multiple-value f...
Field containing an enumerated value.
Definition SoSFEnum.h:89
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Definition SoSFImage3.h:120
Abstract base class for Open Inventor sensors.
Definition SoSensor.h:97
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D texture mappi...
Definition SoTexture3.h:173
SoSFImage3 images
Contains an in-memory representation of the texture map.
Definition SoTexture3.h:222
SoMFFilePathString filenames
Names of file(s) from which to read texture image(s).
Definition SoTexture3.h:213
SoSFEnum wrapT
Indicates what to do when texture coordinates in the T (vertical) direction lie outside the range 0-1...
Definition SoTexture3.h:229
Layout
Texture layout.
Definition SoTexture3.h:182
@ VOLUME
The texture layout is a volumetric texture.
Definition SoTexture3.h:186
@ ARRAY
The texture layout is an array of bi-dimensional textures.
Definition SoTexture3.h:191
SoSFEnum layout
Indicates whether the data layout is a volumetric texture VOLUME or an array of bi-dimensional textur...
Definition SoTexture3.h:250
SoTexture3()
Creates a texture node with default settings.
SoSFEnum wrapR
Indicates what to do when texture coordinates in the R (depth) direction lie outside the range 0-1.
Definition SoTexture3.h:236
friend class SoGLTextureImage3Element
Definition SoTexture3.h:276
Abstract base class for texture mapping nodes.
Definition SoTexture.h:155
int SbBool
Boolean type.
Definition SbBase.h:87