Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoCompose.h
Go to the documentation of this file.
1/*=======================================================================
2 * Copyright 1991-1996, Silicon Graphics, Inc.
3 * ALL RIGHTS RESERVED
4 *
5 * UNPUBLISHED -- Rights reserved under the copyright laws of the United
6 * States. Use of a copyright notice is precautionary only and does not
7 * imply publication or disclosure.
8 *
9 * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
10 * Use, duplication or disclosure by the Government is subject to restrictions
11 * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
12 * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
13 * in similar or successor clauses in the FAR, or the DOD or NASA FAR
14 * Supplement. Contractor/manufacturer is Silicon Graphics, Inc.,
15 * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
16 *
17 * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
18 * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
19 * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
20 * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
21 * GRAPHICS, INC.
22**=======================================================================*/
23/*=======================================================================
24** Author : Ronen Barzel (MMM yyyy)
25**=======================================================================*/
26/*=======================================================================
27 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
28 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
29 *** ***
30 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
31 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
32 *** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
33 *** ***
34 *** RESTRICTED RIGHTS LEGEND ***
35 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
36 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
37 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
38 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
39 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
40 *** ***
41 *** COPYRIGHT (C) 1996-2014 BY FEI S.A.S, ***
42 *** BORDEAUX, FRANCE ***
43 *** ALL RIGHTS RESERVED ***
44**=======================================================================*/
45/*=======================================================================
46** Modified by : VSG (MMM YYYY)
47**=======================================================================*/
48
49
50#ifndef _SO_COMPOSE_
51#define _SO_COMPOSE_
52
64
65// This internal macro defines the standard methods for the composition
66// engines. These are just basic engine declarations, nothing fancy.
67// The macro leaves the class header in "public:" state so it can be
68// followed immediately with the composition input and output declarations.
69#define SO_COMPOSE__HEADER(Name) \
70 SO_ENGINE_HEADER(Name); \
71 private: \
72 ~Name(); \
73 virtual void evaluate(); \
74 public: \
75 \
76 Name(); \
77 private: \
78 \
79 static void initClass(); \
80 \
81 static void exitClass()
82
84
85
132
179
226
278
336
338
382
426
470
520
575
577
625
674
675
720
721
723
785
786
788
856
857#endif /* _SO_COMPOSE_ */
858
859
860
861
862
863
864
865
866
867
868
#define SO_COMPOSE__HEADER(Name)
Definition SoCompose.h:69
Composes a transformation matrix.
Definition SoCompose.h:755
SoEngineOutput matrix
( SoMFMatrix ) Transformation matrix that transforms from object space into the space specified by th...
Definition SoCompose.h:782
SoMFRotation scaleOrientation
Rotational space for scaling.
Definition SoCompose.h:774
SoMFVec3f scaleFactor
Scale factors in x, y, and z.
Definition SoCompose.h:770
SoMFVec3f center
Center point for scaling and rotating.
Definition SoCompose.h:778
SoMFRotation rotation
Rotation.
Definition SoCompose.h:766
SoMFVec3f translation
Translation in x, y, and z.
Definition SoCompose.h:761
Composes a rotation that rotates from one vector into another.
Definition SoCompose.h:655
SoMFVec3f from
Vector before the rotation.
Definition SoCompose.h:661
SoEngineOutput rotation
( SoMFRotation ) A rotation that transforms one vector into another.
Definition SoCompose.h:671
SoMFVec3f to
Vector after the rotation.
Definition SoCompose.h:666
Composes a rotation from axis and angle values.
Definition SoCompose.h:606
SoMFVec3f axis
Axis of rotation.
Definition SoCompose.h:612
SoEngineOutput rotation
( SoMFRotation ) Rotation field, defined by the inputs.
Definition SoCompose.h:622
SoMFFloat angle
Angle of rotation.
Definition SoCompose.h:617
Composes 2D vectors from floating-point values.
Definition SoCompose.h:113
SoMFFloat y
The y component.
Definition SoCompose.h:124
SoMFFloat x
The x component.
Definition SoCompose.h:119
SoEngineOutput vector
( SoMFVec2f ) Vector composed of x and y components.
Definition SoCompose.h:129
Composes 2D vectors from int values.
Definition SoCompose.h:160
SoEngineOutput vector
( SoMFVec2i32 ) Vector composed of x and y components.
Definition SoCompose.h:176
SoMFInt32 y
The y component.
Definition SoCompose.h:171
SoMFInt32 x
The x component.
Definition SoCompose.h:166
Composes 2D vectors from short values.
Definition SoCompose.h:207
SoEngineOutput vector
( SoMFVec2s ) Vector composed of x and y components.
Definition SoCompose.h:223
SoMFShort x
The x component.
Definition SoCompose.h:213
SoMFShort y
The y component.
Definition SoCompose.h:218
Composes 3D vectors from floating-point values.
Definition SoCompose.h:254
SoMFFloat z
The z component.
Definition SoCompose.h:270
SoEngineOutput vector
( SoMFVec3f ) Vector composed of x, y, and z.
Definition SoCompose.h:275
SoMFFloat y
The y component.
Definition SoCompose.h:265
SoMFFloat x
The x component.
Definition SoCompose.h:260
Composes 4D vectors from floating-point values.
Definition SoCompose.h:307
SoMFFloat x
The x component.
Definition SoCompose.h:313
SoMFFloat w
The w component.
Definition SoCompose.h:328
SoMFFloat y
The y component.
Definition SoCompose.h:318
SoEngineOutput vector
( SoMFVec4f ) Vector composed of x, y, z, and w.
Definition SoCompose.h:333
SoMFFloat z
The z component.
Definition SoCompose.h:323
Decomposes transformation matrices into values for translation, rotation, and scale.
Definition SoCompose.h:821
SoMFVec3f center
The center of transformations.
Definition SoCompose.h:832
SoMFMatrix matrix
The 4x4 transformation matrix.
Definition SoCompose.h:827
SoEngineOutput scaleOrientation
( SoMFRotation ) Derived rotational space for scaling.
Definition SoCompose.h:852
SoEngineOutput rotation
( SoMFRotation ) Derived rotation.
Definition SoCompose.h:842
SoEngineOutput translation
( SoMFVec3f ) Derived translation in x, y, and z.
Definition SoCompose.h:837
SoEngineOutput scaleFactor
( SoMFVec3f ) Derived scale values in x, y, and z.
Definition SoCompose.h:847
Decomposes rotation values.
Definition SoCompose.h:701
SoMFRotation rotation
Rotation to be decomposed.
Definition SoCompose.h:707
SoEngineOutput angle
( SoMFFloat ) Angle (in radians) derived from the input.
Definition SoCompose.h:717
SoEngineOutput axis
( SoMFVec3f ) Axis of rotation derived from the input.
Definition SoCompose.h:712
Decomposes 2D vectors into floating-point values.
Definition SoCompose.h:363
SoMFVec2f vector
Vector to be decomposed.
Definition SoCompose.h:369
SoEngineOutput x
( SoMFFloat ) First component of the vector.
Definition SoCompose.h:374
SoEngineOutput y
( SoMFFloat ) Second component of the vector.
Definition SoCompose.h:379
Decomposes 2D vectors into int values.
Definition SoCompose.h:407
SoEngineOutput y
( SoMFInt32 ) Second component of the vector.
Definition SoCompose.h:423
SoEngineOutput x
( SoMFInt32 ) First component of the vector.
Definition SoCompose.h:418
SoMFVec2i32 vector
Vector to be decomposed.
Definition SoCompose.h:413
Decomposes 2D vectors into short values.
Definition SoCompose.h:451
SoMFVec2s vector
Vector to be decomposed.
Definition SoCompose.h:457
SoEngineOutput y
( SoMFShort ) Second component of the vector.
Definition SoCompose.h:467
SoEngineOutput x
( SoMFShort ) First component of the vector.
Definition SoCompose.h:462
Decomposes 3D vectors into floating-point values.
Definition SoCompose.h:496
SoMFVec3f vector
Vector to be decomposed.
Definition SoCompose.h:502
SoEngineOutput z
( SoMFFloat ) Third component of the vector.
Definition SoCompose.h:517
SoEngineOutput y
( SoMFFloat ) Second component of the vector.
Definition SoCompose.h:512
SoEngineOutput x
( SoMFFloat ) First component of the vector.
Definition SoCompose.h:507
Decomposes 4D vectors into floating-point values.
Definition SoCompose.h:546
SoEngineOutput z
( SoMFFloat ) Third component of the vector.
Definition SoCompose.h:567
SoMFVec4f vector
Vector to be decomposed.
Definition SoCompose.h:552
SoEngineOutput w
( SoMFFloat ) Fourth component of the vector.
Definition SoCompose.h:572
SoEngineOutput y
( SoMFFloat ) Second component of the vector.
Definition SoCompose.h:562
SoEngineOutput x
( SoMFFloat ) First component of the vector.
Definition SoCompose.h:557
Base class for all engines.
Definition SoEngine.h:133
Class for all engine outputs.
Definition SoEngine.h:282
Multiple-value field containing any number of floating point values.
Definition SoMFFloat.h:90
Multiple-value field containing any number of int32_t integers.
Definition SoMFInt32.h:88
Multiple-value field containing any number of 4x4 matrices.
Definition SoMFMatrix.h:92
Multiple-value field containing any number of SbRotations.
Multiple-value field containing any number of short integers.
Definition SoMFShort.h:89
Multiple-value field containing any number of two-dimensional vectors.
Definition SoMFVec2f.h:89
Multiple-value field containing any number of two-dimensional vectors.
Definition SoMFVec2i32.h:63
Multiple-value field containing any number of two-dimensional vectors.
Definition SoMFVec2s.h:63
Multiple-value field containing any number of three-dimensional vectors.
Definition SoMFVec3f.h:181
Multiple-value field containing any number of four-dimensional vectors.
Definition SoMFVec4f.h:90