|
| Transformation () |
|
virtual const char * | getClassName () const |
|
void | reset () |
|
void | setA (double a11, double a12, double a13, double a14, double a21, double a22, double a23, double a24, double a31, double a32, double a33, double a34, double a41, double a42, double a43, double a44) |
|
void | setMatrix (const Coord3 &trans, const Coord3 &rotvec, double rotangle, const Coord3 &scale) |
|
void | setTranslation (const Coord3 &) |
|
void | setRotation (const Coord3 &vec, double angle) |
|
void | setScale (const Coord3 &) |
|
void | setScaleOrientation (const Coord3 &vec, double angle) |
|
Coord3 | getTranslation () const |
|
Coord3 | getScale () const |
|
void | getRotation (Coord3 &vec, double &angle) const |
|
void | setAbsoluteReferenceFrame () |
|
const osg::MatrixTransform * | getTransformNode () const |
|
void | transform (Coord3 &) const |
|
void | transform (const Coord3 &f, Coord3 &t) const |
|
void | transformBack (Coord3 &) const |
|
void | transformBack (const Coord3 &f, Coord3 &t) const |
|
void | transformDir (Coord3 &) const |
|
void | transformDir (const Coord3 &f, Coord3 &t) const |
|
void | transformBackDir (Coord3 &) const |
|
void | transformBackDir (const Coord3 &f, Coord3 &t) const |
|
void | transformSize (Coord3 &) const |
|
void | transformSize (const Coord3 &f, Coord3 &t) const |
|
void | transformBackSize (Coord3 &) const |
|
void | transformBackSize (const Coord3 &f, Coord3 &t) const |
|
void | transformNormal (Coord3 &) const |
|
void | transformNormal (const Coord3 &f, Coord3 &t) const |
|
void | transformBackNormal (Coord3 &) const |
|
void | transformBackNormal (const Coord3 &f, Coord3 &t) const |
|
void | transform (osg::Vec3d &) const |
|
void | transform (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformBack (osg::Vec3d &) const |
|
void | transformBack (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformDir (osg::Vec3d &) const |
|
void | transformDir (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformBackDir (osg::Vec3d &) const |
|
void | transformBackDir (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformSize (osg::Vec3d &) const |
|
void | transformSize (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformBackSize (osg::Vec3d &) const |
|
void | transformBackSize (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformNormal (osg::Vec3d &) const |
|
void | transformNormal (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transformBackNormal (osg::Vec3d &) const |
|
void | transformBackNormal (const osg::Vec3d &f, osg::Vec3d &t) const |
|
void | transform (osg::Vec3f &) const |
|
void | transform (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformBack (osg::Vec3f &) const |
|
void | transformBack (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformDir (osg::Vec3f &) const |
|
void | transformDir (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformBackDir (osg::Vec3f &) const |
|
void | transformBackDir (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformSize (osg::Vec3f &) const |
|
void | transformSize (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformBackSize (osg::Vec3f &) const |
|
void | transformBackSize (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformNormal (osg::Vec3f &) const |
|
void | transformNormal (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transformBackNormal (osg::Vec3f &) const |
|
void | transformBackNormal (const osg::Vec3f &f, osg::Vec3f &t) const |
|
void | transform (const Coord3 &, osg::Vec3d &) const |
|
void | transformBack (const Coord3 &, osg::Vec3d &) const |
|
void | transformDir (const Coord3 &, osg::Vec3d &) const |
|
void | transformBackDir (const Coord3 &, osg::Vec3d &) const |
|
void | transformSize (const Coord3 &, osg::Vec3d &) const |
|
void | transformBackSize (const Coord3 &, osg::Vec3d &) const |
|
void | transformNormal (const Coord3 &, osg::Vec3d &) const |
|
void | transformBackNormal (const Coord3 &, osg::Vec3d &) const |
|
void | transform (const Coord3 &, osg::Vec3f &) const |
|
void | transformBack (const Coord3 &, osg::Vec3f &) const |
|
void | transformDir (const Coord3 &, osg::Vec3f &) const |
|
void | transformBackDir (const Coord3 &, osg::Vec3f &) const |
|
void | transformSize (const Coord3 &, osg::Vec3f &) const |
|
void | transformBackSize (const Coord3 &, osg::Vec3f &) const |
|
void | transformNormal (const Coord3 &, osg::Vec3f &) const |
|
void | transformBackNormal (const Coord3 &, osg::Vec3f &) const |
|
void | transform (const osg::Vec3d &, Coord3 &) const |
|
void | transformBack (const osg::Vec3d &, Coord3 &) const |
|
void | transformDir (const osg::Vec3d &, Coord3 &) const |
|
void | transformBackDir (const osg::Vec3d &, Coord3 &) const |
|
void | transformSize (const osg::Vec3d &, Coord3 &) const |
|
void | transformBackSize (const osg::Vec3d &, Coord3 &) const |
|
void | transformNormal (const osg::Vec3d &, Coord3 &) const |
|
void | transformBackNormal (const osg::Vec3d &, Coord3 &) const |
|
void | transform (const osg::Vec3f &, Coord3 &) const |
|
void | transformBack (const osg::Vec3f &, Coord3 &) const |
|
void | transformDir (const osg::Vec3f &, Coord3 &) const |
|
void | transformBackDir (const osg::Vec3f &, Coord3 &) const |
|
void | transformSize (const osg::Vec3f &, Coord3 &) const |
|
void | transformBackSize (const osg::Vec3f &, Coord3 &) const |
|
void | transformNormal (const osg::Vec3f &, Coord3 &) const |
|
void | transformBackNormal (const osg::Vec3f &, Coord3 &) const |
|
Transformation & | operator*= (const Transformation &) |
|
| DataObjectGroup () |
|
void | setSeparate (bool yn=true) |
|
virtual int | size () const |
|
virtual void | addObject (DataObject *) |
|
void | addObject (int id) |
|
virtual void | insertObject (int idx, DataObject *) |
|
virtual int | getFirstIdx (int id) const |
|
virtual int | getFirstIdx (const DataObject *) const |
|
virtual void | removeObject (int idx) |
|
virtual void | removeAll () |
|
virtual DataObject * | getObject (int idx) |
|
const DataObject * | getObject (int idx) const |
|
void | setDisplayTransformation (const visBase::Transformation *) |
|
const visBase::Transformation * | getDisplayTransformation () const |
|
void | setRightHandSystem (bool) |
|
bool | isRightHandSystem () const |
|
void | setPixelDensity (float dpi) |
|
float | getPixelDensity () const |
|
virtual bool | isOK () const |
|
int | id () const |
|
void | setID (int nid) |
|
uiString | name () const |
|
virtual void | setName (const uiString &) |
|
osg::Node * | osgNode (bool skipswitch=false) |
|
const osg::Node * | osgNode (bool skipswitch=false) const |
|
void | enableTraversal (unsigned int mask, bool yn=true) |
|
bool | isTraversalEnabled (unsigned int mask) const |
|
SoNode * | getInventorNode () |
|
const SoNode * | getInventorNode () const |
|
virtual bool | turnOn (bool yn) |
|
virtual bool | isOn () const |
|
bool | isPickable (bool actively=true) const |
|
void | setPickable (bool actively, bool passively=true) |
|
virtual bool | rightClickable () const |
|
virtual bool | selectable () const |
|
void | select () const |
|
void | deSelect () const |
|
void | updateSel () const |
|
virtual bool | isSelected () const |
|
virtual NotifierAccess * | selection () |
|
virtual NotifierAccess * | deSelection () |
|
virtual NotifierAccess * | rightClicked () |
|
virtual const TypeSet< int > * | rightClickedPath () const |
|
virtual const char * | errMsg () const |
|
bool | serialize (const char *filename, bool binary=false) |
|
void | setParent (DataObjectGroup *g) |
|
template<class T > |
T * | addNodeState (T *ns) |
|
NodeState * | removeNodeState (NodeState *) |
|
NodeState * | getNodeState (int idx) |
|
| CallBacker () |
|
| CallBacker (const CallBacker &) |
|
virtual | ~CallBacker () |
|
bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
|
bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
|
void | detachCB (NotifierAccess &, const CallBack &) |
|
void | detachCB (NotifierAccess *notif, const CallBack &cb) |
|
bool | isNotifierAttached (NotifierAccess *) const |
| Only for debugging purposes, don't use. More...
|
|
|
static Transformation * | create () |
|
static void | initClass () |
|
static const char * | getStaticClassName () |
|
static const char * | sFactoryKeyword () |
|
static void | transform (const Transformation *tr, Coord3 &v) |
|
static void | transform (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformBack (const Transformation *tr, Coord3 &v) |
|
static void | transformBack (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformDir (const Transformation *tr, Coord3 &v) |
|
static void | transformDir (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformBackDir (const Transformation *tr, Coord3 &v) |
|
static void | transformBackDir (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformSize (const Transformation *tr, Coord3 &v) |
|
static void | transformSize (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformBackSize (const Transformation *tr, Coord3 &v) |
|
static void | transformBackSize (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformNormal (const Transformation *tr, Coord3 &v) |
|
static void | transformNormal (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transformBackNormal (const Transformation *tr, Coord3 &v) |
|
static void | transformBackNormal (const Transformation *tr, const Coord3 &f, Coord3 &t) |
|
static void | transform (const Transformation *tr, osg::Vec3d &v) |
|
static void | transform (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformBack (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformBack (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformDir (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformDir (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformBackDir (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformBackDir (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformSize (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformSize (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformBackSize (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformBackSize (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformNormal (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformNormal (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transformBackNormal (const Transformation *tr, osg::Vec3d &v) |
|
static void | transformBackNormal (const Transformation *tr, const osg::Vec3d &f, osg::Vec3d &t) |
|
static void | transform (const Transformation *tr, osg::Vec3f &v) |
|
static void | transform (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformBack (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformBack (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformDir (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformDir (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformBackDir (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformBackDir (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformSize (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformSize (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformBackSize (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformBackSize (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformNormal (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformNormal (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transformBackNormal (const Transformation *tr, osg::Vec3f &v) |
|
static void | transformBackNormal (const Transformation *tr, const osg::Vec3f &f, osg::Vec3f &t) |
|
static void | transform (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformBack (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformDir (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformBackDir (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformSize (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformBackSize (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformNormal (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transformBackNormal (const Transformation *tr, const Coord3 &f, osg::Vec3d &t) |
|
static void | transform (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformBack (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformDir (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformBackDir (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformSize (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformBackSize (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformNormal (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transformBackNormal (const Transformation *tr, const Coord3 &f, osg::Vec3f &t) |
|
static void | transform (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformBack (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformDir (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformBackDir (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformSize (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformBackSize (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformNormal (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transformBackNormal (const Transformation *tr, const osg::Vec3d &f, Coord3 &t) |
|
static void | transform (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformBack (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformDir (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformBackDir (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformSize (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformBackSize (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformNormal (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static void | transformBackNormal (const Transformation *tr, const osg::Vec3f &f, Coord3 &t) |
|
static DataObjectGroup * | create () |
|
static void | initClass () |
|
static const char * | getStaticClassName () |
|
static const char * | sFactoryKeyword () |
|
static int | getID (const osg::Node *) |
|
static float | getDefaultPixelDensity () |
|
static void | setVisualizationThread (const void *) |
| Call only once from initialization. More...
|
|
static bool | isVisualizationThread () |
|
static void | requestSingleRedraw () |
|
static void | setCommonViewer (osgViewer::CompositeViewer *) |
|
static osgViewer::CompositeViewer * | getCommonViewer () |
|
The Transformation is an object that transforms everything following the node.
The transformation is denoted:
Aq=b
Where A is the transformation matrix, q is a column vector with { x, y, z, 1 } and b is the transformed column vector { x'', y'', z'', m }. The output coords can be calculated by:
x' = x''/m; y' = y''/m; z'=z''/m;