 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "visbasemod.h"
18 namespace osg {
class MatrixTransform;
class Vec3d;
class Vec3f;
class Quat; }
23 #define mDefTransType( func, tp ) \
24 void func( tp& ) const; \
25 void func( const tp& f, tp& t ) const; \
26 static void func( const Transformation* tr, tp& v ) \
27 { if ( tr ) tr->func( v ); } \
28 static void func( const Transformation* tr, const tp& f, tp& t );
30 #define mDefTrans( tp ) \
31 mDefTransType( transform, tp ); \
32 mDefTransType( transformBack, tp ); \
33 mDefTransType( transformDir, tp ); \
34 mDefTransType( transformBackDir, tp ); \
35 mDefTransType( transformSize, tp ); \
36 mDefTransType( transformBackSize, tp ); \
37 mDefTransType( transformNormal, tp ); \
38 mDefTransType( transformBackNormal, tp );
41 #define mDefConvTransType( func, frtp, totp ) \
42 void func( const frtp&, totp& ) const; \
43 static void func( const Transformation* tr, const frtp& f, totp& t);
45 #define mDefConvTrans( frtp, totp ) \
46 mDefConvTransType( transform, frtp, totp ); \
47 mDefConvTransType( transformBack, frtp, totp ); \
48 mDefConvTransType( transformDir, frtp, totp ); \
49 mDefConvTransType( transformBackDir, frtp, totp ); \
50 mDefConvTransType( transformSize, frtp, totp ); \
51 mDefConvTransType( transformBackSize, frtp, totp ); \
52 mDefConvTransType( transformNormal, frtp, totp ); \
53 mDefConvTransType( transformBackNormal, frtp, totp );
81 void setA(
double a11,
double a12,
double a13,
double a14,
82 double a21,
double a22,
double a23,
double a24,
83 double a31,
double a32,
double a33,
double a34,
84 double a41,
double a42,
double a43,
double a44 );
87 const
Coord3& rotvec,
double rotangle,
91 void setRotation(const
Coord3& vec,
double angle);
93 void setScaleOrientation(const
Coord3& vec,
double angle);
97 void getRotation(
Coord3& vec,
double& angle) const;
100 void setAbsoluteReferenceFrame();
101 const
osg::MatrixTransform* getTransformNode()
const {
return node_; };
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: visannot.h:43
#define mExpClass(module)
Definition: commondefs.h:177
Open Scene Graph.
Definition: visannot.h:29
Definition: visdatagroup.h:27
#define mCreateDataObj(clss)
Definition: visdata.h:214
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021