QSceneTreeNode Class Reference

#include <QSceneTreeNode.h>

Inheritance diagram for QSceneTreeNode:

CTreeNode QSceneTreeDrawable QSceneTreeRenderer QCameraInterpolationTool QCameraKeyPathEditorImpl STDisplayList STLightList STQGLExampleInitNode STQGLExampleLightNode STQGLExampleSphere STQGLViewerBoundingBox CSceneTreeRenderer List of all members.

Public Types

 hidden
 disabled
 normal
 highlighted
 boxed
enum  ViewingMode {
  hidden, disabled, normal, highlighted,
  boxed
}

Public Member Functions

 QSceneTreeNode ()
 ~QSceneTreeNode ()
const CMat4DgetTransformation () const
void resetTransformation ()
void applyTransformation (const CMat4D &)
virtual CBoundingBox3D getBoundingBox () const
ViewingMode getViewingMode () const
virtual void setViewingMode (ViewingMode mode)
virtual void requestUpdate ()

Protected Attributes

CMat4Dm_pTransformation
ViewingMode m_ViewingMode

Detailed Description

Base class of a scene tree node.

Author:
Richard Guenther


Member Enumeration Documentation

enum QSceneTreeNode::ViewingMode

Different viewing modes to handle different rendering.

Enumerator:
hidden 
disabled 
normal 
highlighted 
boxed 


Constructor & Destructor Documentation

QSceneTreeNode::QSceneTreeNode (  )  [inline]

Default constructor.

QSceneTreeNode::~QSceneTreeNode (  ) 

Destructor.


Member Function Documentation

void QSceneTreeNode::applyTransformation ( const CMat4D  ) 

Sets the transformation matrix.

CBoundingBox3D QSceneTreeNode::getBoundingBox (  )  const [virtual]

Returns the bounding box of the (sub) tree with this node as root.

Reimplemented in STQGLExampleSphere.

const CMat4D* QSceneTreeNode::getTransformation (  )  const [inline]

Returns the transformation matrix.

ViewingMode QSceneTreeNode::getViewingMode (  )  const [inline]

Returns the viewing mode.

virtual void QSceneTreeNode::requestUpdate (  )  [inline, virtual]

Call this method to request an update to the renderer.

Reimplemented in QSceneTreeRenderer.

void QSceneTreeNode::resetTransformation (  ) 

Resets the transformation matrix.

virtual void QSceneTreeNode::setViewingMode ( ViewingMode  mode  )  [inline, virtual]

Sets the viewing mode.


Member Data Documentation

CMat4D* QSceneTreeNode::m_pTransformation [protected]

ViewingMode QSceneTreeNode::m_ViewingMode [protected]


The documentation for this class was generated from the following files:
Generated on Tue Jul 11 10:42:57 2006 for QGLViewer by  doxygen 1.4.7