Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
SoTexture3Transform.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 : Patrick Vigneras (Feb 2000)
22**=======================================================================*/
23
24#ifndef _SO_TEXTURE_3_TRANSFORM_
25#define _SO_TEXTURE_3_TRANSFORM_
26
27#include <Inventor/fields/SoSFVec3f.h>
28#include <Inventor/fields/SoSFFloat.h>
29#include <Inventor/nodes/SoNode.h>
30
32//
33// Class: SoTexture3Transform
34//
35// 3D Texture transformation node.
36//
38
77
78 SO_NODE_HEADER(SoTexture3Transform);
79
80public:
81 // Fields
103
108
109 private:
110 virtual void doAction(SoAction *action);
111 virtual void callback(SoCallbackAction *action);
112 virtual void GLRender(SoGLRenderAction *action);
113 virtual void getMatrix(SoGetMatrixAction *action);
114 virtual void pick(SoPickAction *action);
115
116 private:
117 static void initClass();
118 static void exitClass();
119
120private:
121 virtual ~SoTexture3Transform();
122};
123
124#endif /* _SO_TEXTURE_3_TRANSFORM_ */
125
Abstract base class for all actions.
Definition SoAction.h:132
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Computes transformation matrix for a subgraph.
Abstract base class for all database nodes.
Definition SoNode.h:145
Abstract base class for picking objects in a scene.
Field containing a floating-point value.
Definition SoSFFloat.h:78
Field containing a three-dimensional vector.
Definition SoSFVec3f.h:80
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> 3D texture trans...
SoTexture3Transform()
Creates a texture transformation node with default settings.
SoSFVec3f translation
Translation in S, T, and R.
SoSFVec3f scaleFactor
Scaling factors in S, T, and R.
SoSFVec3f center
Center point used for scaling and rotation.
SoSFFloat rotation
Counterclockwise rotation of the coordinate space, in radians.