Documentation


X3DTK::X3D::DeformableOctreeShapeNode Class Reference

#include <DeformableOctreeShapeNode.h>

Inheritance diagram for X3DTK::X3D::DeformableOctreeShapeNode:

X3DTK::X3D::X4DNode X3DGroupingNode X3DBoundedObject List of all members.

Detailed Description

Examples:

qtapp.cpp.

Definition at line 26 of file DeformableOctreeShapeNode.h.

Public Member Functions

 DeformableOctreeShapeNode ()
 Constructor.

 ~DeformableOctreeShapeNode ()
 Virtual destructor.

void setIFS (IndexedFaceSet *ifs)
Coordinate * getCoordinate () const
virtual void postInit ()
virtual void draw () const
MFVec3f computeNormals () const
void setOctree (animal::octree::Octree *octree)
void setRenderingMethod (int method)
int getRenderingMethod () const

Protected Attributes

Coordinate * _coordinate
IndexedFaceSet * _ifs
Appearance * _appearance
animal::octree::Octree_octree
int _renderingMethod


Constructor & Destructor Documentation

X3DTK::X3D::DeformableOctreeShapeNode::DeformableOctreeShapeNode  ) 
 

Constructor.

Definition at line 21 of file DeformableOctreeShapeNode.cpp.

References X3DTK::X3D::DOSN_METHOD_VA.

X3DTK::X3D::DeformableOctreeShapeNode::~DeformableOctreeShapeNode  ) 
 

Virtual destructor.

Definition at line 31 of file DeformableOctreeShapeNode.cpp.


Member Function Documentation

MFVec3f X3DTK::X3D::DeformableOctreeShapeNode::computeNormals  )  const
 

Definition at line 111 of file DeformableOctreeShapeNode.cpp.

References _coordinate, and Require.

Referenced by X3DTK::X3D::DeformableOctreeParticleSystemNode::createOctree(), X3DTK::X3D::DeformableOctreeNode::createOctree(), and draw().

void X3DTK::X3D::DeformableOctreeShapeNode::draw  )  const [virtual]
 

Definition at line 183 of file DeformableOctreeShapeNode.cpp.

References _appearance, _coordinate, _renderingMethod, computeNormals(), X3DTK::X3D::DOSN_METHOD_BOURRIN, X3DTK::X3D::DOSN_METHOD_CG, and X3DTK::X3D::DOSN_METHOD_VA.

Referenced by X3DTK::X3D::DeformableOctreeNode::draw().

X3D::Coordinate * X3DTK::X3D::DeformableOctreeShapeNode::getCoordinate  )  const
 

Definition at line 85 of file DeformableOctreeShapeNode.cpp.

References _coordinate.

Referenced by X3DTK::X3D::DeformableOctreeParticleSystemNode::createOctree(), X3DTK::X3D::DeformableOctreeNode::createOctree(), X3DTK::X3D::DeformableOctreeParticleSystemNode::pickPoint(), X3DTK::X3D::DeformableOctreeNode::pickPoint(), X3DTK::X3D::DeformableOctreeParticleSystemNode::postInit(), and X3DTK::X3D::DeformableOctreeNode::postInit().

int X3DTK::X3D::DeformableOctreeShapeNode::getRenderingMethod  )  const
 

Definition at line 97 of file DeformableOctreeShapeNode.cpp.

References _renderingMethod.

void X3DTK::X3D::DeformableOctreeShapeNode::postInit  )  [virtual]
 

Reimplemented from X3DTK::X3D::X4DNode.

Definition at line 42 of file DeformableOctreeShapeNode.cpp.

References _appearance, Require, and setIFS().

void X3DTK::X3D::DeformableOctreeShapeNode::setIFS IndexedFaceSet *  ifs  ) 
 

Definition at line 75 of file DeformableOctreeShapeNode.cpp.

References _coordinate.

Referenced by postInit().

void X3DTK::X3D::DeformableOctreeShapeNode::setOctree animal::octree::Octree octree  ) 
 

Definition at line 103 of file DeformableOctreeShapeNode.cpp.

References Require.

Referenced by X3DTK::X3D::DeformableOctreeParticleSystemNode::setDeformableOctreeShapeNode(), and X3DTK::X3D::DeformableOctreeNode::setDeformableOctreeShapeNode().

void X3DTK::X3D::DeformableOctreeShapeNode::setRenderingMethod int  method  ) 
 

Definition at line 93 of file DeformableOctreeShapeNode.cpp.

References _renderingMethod.

Referenced by X3DTK::Qt::DeformableOctreeShapeQt::comboBoxMethod_activated(), and X3DTK::Qt::DeformableOctreeShapeQt::initButtons().


Member Data Documentation

Appearance* X3DTK::X3D::DeformableOctreeShapeNode::_appearance [protected]
 

Definition at line 58 of file DeformableOctreeShapeNode.h.

Referenced by draw(), and postInit().

Coordinate* X3DTK::X3D::DeformableOctreeShapeNode::_coordinate [protected]
 

Definition at line 56 of file DeformableOctreeShapeNode.h.

Referenced by computeNormals(), draw(), getCoordinate(), and setIFS().

IndexedFaceSet* X3DTK::X3D::DeformableOctreeShapeNode::_ifs [protected]
 

Definition at line 57 of file DeformableOctreeShapeNode.h.

animal::octree::Octree* X3DTK::X3D::DeformableOctreeShapeNode::_octree [protected]
 

Definition at line 60 of file DeformableOctreeShapeNode.h.

int X3DTK::X3D::DeformableOctreeShapeNode::_renderingMethod [protected]
 

Definition at line 75 of file DeformableOctreeShapeNode.h.

Referenced by draw(), getRenderingMethod(), and setRenderingMethod().


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:52:35 2004 by doxygen 1.3.6