222 lines
11 KiB
HTML
222 lines
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::PositionAttitudeTransform</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::PositionAttitudeTransform</A></H2></H2><BLOCKQUOTE>PositionAttitideTransform - is Transform the set the coordinates transform up via a Vec3 position and Quat attitude</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
|
|
<param name=classes value="MNode,M,CGroup,MGroup.html,CTransform,MTransform.html,CPositionAttitudeTransform,MPositionAttitudeTransform.html">
|
|
<param name=before value="M,M,M,M">
|
|
<param name=after value="Md_SPSP,Md_SP,Md_,M">
|
|
<param name=indent value="0,1,2,3">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.115.1">PositionAttitudeTransform</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.115.2">PositionAttitudeTransform</A></B>(const <!1><A HREF="PositionAttitudeTransform.html#DOC.2.115.2">PositionAttitudeTransform</A>& pat, const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop=CopyOp::SHALLOW_COPY)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.115.3">META_Node</A></B>(<!1><A HREF="osg.html">osg</A>, <!1><A HREF="PositionAttitudeTransform.html">PositionAttitudeTransform</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.115.4">setPosition</A></B>(const <!1><A HREF="Vec3.html">Vec3</A>& pos)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec3.html">Vec3</A>& <B><A HREF="#DOC.2.115.5">getPosition</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.115.6">setAttitude</A></B>(const <!1><A HREF="Quat.html">Quat</A>& quat)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Quat.html">Quat</A>& <B><A HREF="#DOC.2.115.7">getAttitude</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.115.8">setPivotPoint</A></B>(const <!1><A HREF="Vec3.html">Vec3</A>& pivot)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec3.html">Vec3</A>& <B><A HREF="#DOC.2.115.9">getPivotPoint</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.115.10">computeLocalToWorldMatrix</A></B>(<!1><A HREF="Matrix.html">Matrix</A>& matrix, <!1><A HREF="NodeVisitor.html">NodeVisitor</A>* nv) const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.115.11">computeWorldToLocalMatrix</A></B>(<!1><A HREF="Matrix.html">Matrix</A>& matrix, <!1><A HREF="NodeVisitor.html">NodeVisitor</A>* nv) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
class SG_EXPORT <B><A HREF="AnimationPathCallback.2.html">AnimationPathCallback</A></B>: public <!1><A HREF="NodeCallback.html">NodeCallback</A>
|
|
<DD><I>Callback which can be attached to a PositionAttitudeTransform as an app callback to allow it to follow the path defined by a AnimationPath</I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec3.html">Vec3</A> <B><A HREF="#DOC.2.115.13">_position</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Quat.html">Quat</A> <B><A HREF="#DOC.2.115.14">_attitude</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec3.html">Vec3</A> <B><A HREF="#DOC.2.115.15">_pivotPoint</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Transform.html">Transform</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Transform.html">Transform</A>* <B>asTransform</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual const <!1><A HREF="Transform.html">Transform</A>* <B>asTransform</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setReferenceFrame</B>(<!1><A HREF="Transform.html#DOC.2.185.6">ReferenceFrame</A> rf)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Transform.html#DOC.2.185.6">ReferenceFrame</A> <B>getReferenceFrame</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setComputeTransformCallback</B>(<!1><A HREF="Transform.html#DOC.2.185.9">ComputeTransformCallback</A>* ctc)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Transform.html#DOC.2.185.9">ComputeTransformCallback</A>* <B>getComputeTransformCallback</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="Transform.html#DOC.2.185.9">ComputeTransformCallback</A>* <B>getComputeTransformCallback</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>getLocalToWorldMatrix</B>(<!1><A HREF="Matrix.html">Matrix</A>& matrix, <!1><A HREF="NodeVisitor.html">NodeVisitor</A>* nv) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>getWorldToLocalMatrix</B>(<!1><A HREF="Matrix.html">Matrix</A>& matrix, <!1><A HREF="NodeVisitor.html">NodeVisitor</A>* nv) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>enum <B>ReferenceFrame</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>struct <B>ComputeTransformCallback</B>: public <!1><A HREF="Referenced.html">osg::Referenced</A>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Transform.html#DOC.2.185.9">ComputeTransformCallback</A>> <B>_computeTransformCallback</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Transform.html#DOC.2.185.6">ReferenceFrame</A> <B>_referenceFrame</B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>computeBound</B>() const
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Group.html">Group</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Group.html">Group</A>* <B>asGroup</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual const <!1><A HREF="Group.html">Group</A>* <B>asGroup</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual void <B>traverse</B>(<!1><A HREF="NodeVisitor.html">NodeVisitor</A>& nv)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>addChild</B>( Node* child )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>removeChild</B>( Node* child )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>replaceChild</B>( Node* origChild, Node* newChild )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline unsigned int <B>getNumChildren</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline Node* <B>getChild</B>( unsigned int i )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const Node* <B>getChild</B>( unsigned int i ) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>containsNode</B>( const Node* node ) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline ChildList::iterator <B>findNode</B>( const Node* node )
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline ChildList::const_iterator <B>findNode</B>( const Node* node ) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline unsigned int <B>findChildNo</B>( const Node* node ) const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::vector<<!1><A HREF="ref_ptr.html">ref_ptr</A><Node> > <B>ChildList</B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Group.html#DOC.2.74.1">ChildList</A> <B>_children</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>PositionAttitideTransform - is Transform the set the coordinates transform
|
|
up via a Vec3 position and Quat attitude</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="PositionAttitudeTransform"></A>
|
|
<A NAME="DOC.2.115.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PositionAttitudeTransform()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="PositionAttitudeTransform"></A>
|
|
<A NAME="DOC.2.115.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PositionAttitudeTransform(const <!1><A HREF="PositionAttitudeTransform.html#DOC.2.115.2">PositionAttitudeTransform</A>& pat, const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop=CopyOp::SHALLOW_COPY)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="META_Node"></A>
|
|
<A NAME="DOC.2.115.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Node(<!1><A HREF="osg.html">osg</A>, <!1><A HREF="PositionAttitudeTransform.html">PositionAttitudeTransform</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPosition"></A>
|
|
<A NAME="DOC.2.115.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPosition(const <!1><A HREF="Vec3.html">Vec3</A>& pos)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPosition"></A>
|
|
<A NAME="DOC.2.115.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec3.html">Vec3</A>& getPosition() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setAttitude"></A>
|
|
<A NAME="DOC.2.115.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setAttitude(const <!1><A HREF="Quat.html">Quat</A>& quat)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getAttitude"></A>
|
|
<A NAME="DOC.2.115.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Quat.html">Quat</A>& getAttitude() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPivotPoint"></A>
|
|
<A NAME="DOC.2.115.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPivotPoint(const <!1><A HREF="Vec3.html">Vec3</A>& pivot)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPivotPoint"></A>
|
|
<A NAME="DOC.2.115.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec3.html">Vec3</A>& getPivotPoint() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeLocalToWorldMatrix"></A>
|
|
<A NAME="DOC.2.115.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool computeLocalToWorldMatrix(<!1><A HREF="Matrix.html">Matrix</A>& matrix, <!1><A HREF="NodeVisitor.html">NodeVisitor</A>* nv) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeWorldToLocalMatrix"></A>
|
|
<A NAME="DOC.2.115.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool computeWorldToLocalMatrix(<!1><A HREF="Matrix.html">Matrix</A>& matrix, <!1><A HREF="NodeVisitor.html">NodeVisitor</A>* nv) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_position"></A>
|
|
<A NAME="DOC.2.115.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec3.html">Vec3</A> _position</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_attitude"></A>
|
|
<A NAME="DOC.2.115.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Quat.html">Quat</A> _attitude</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_pivotPoint"></A>
|
|
<A NAME="DOC.2.115.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec3.html">Vec3</A> _pivotPoint</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
|
|
<BR>
|
|
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|