Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

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

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

Public Methods

 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.

Enumeration values:
hidden  
disabled  
normal  
highlighted  
boxed  


Constructor & Destructor Documentation

QSceneTreeNode::QSceneTreeNode   [inline]
 

Default constructor.

QSceneTreeNode::~QSceneTreeNode  
 

Destructor.


Member Function Documentation

void QSceneTreeNode::applyTransformation const CMat4D &   mat
 

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

ViewingMode QSceneTreeNode::m_ViewingMode [protected]
 

CMat4D* QSceneTreeNode::m_pTransformation [protected]
 


The documentation for this class was generated from the following files:
Generated at Thu Oct 4 17:17:32 2001 for QGLViewer by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001