Documentation


animal::octree::ManipulatedMeshVertex Class Reference

#include <ManipulatedMeshVertex.h>

Inheritance diagram for animal::octree::ManipulatedMeshVertex:

animal::ConstrainedItem animal::octree::ManipulatedMeshVertexAnimated< t_Vector, t_Real, t_VecReal > List of all members.

Detailed Description

Direct manipulation of a mesh vertex in an octree's cell.

Author:
Mathieu Coquerelle

Definition at line 33 of file ManipulatedMeshVertex.h.

Public Member Functions

 ManipulatedMeshVertex (X3DTK::X3D::DeformableOctreeNode *dosn, const X3DTK::SFVec3f *meshVertex)
 ~ManipulatedMeshVertex ()
SFVec3fCellConstrainedgetVertex () const
virtual void getPoint (float &, float &, float &) const
 Get the current 3D position of the selected object.

virtual void moveTo (float, float, float)
virtual bool operator== (const ConstrainedItem *) const
virtual void draw ()

Protected Attributes

X3DTK::X3D::DeformableOctreeNode_dosn
SFVec3fCellConstrained_vertex
Vec3d _initPos


Constructor & Destructor Documentation

animal::octree::ManipulatedMeshVertex::ManipulatedMeshVertex X3DTK::X3D::DeformableOctreeNode dosn,
const X3DTK::SFVec3f *  meshVertex
 

Definition at line 30 of file ManipulatedMeshVertex.cpp.

References _initPos, animal::octree::Cell, Ensure, X3DTK::X3D::DeformableOctreeNode::getOctree(), Require, animal::octree::FastOctree< T, S, U >::root(), and animal::octree::Vec3d.

animal::octree::ManipulatedMeshVertex::~ManipulatedMeshVertex  ) 
 

Definition at line 115 of file ManipulatedMeshVertex.cpp.

References Require, and X3DTK::X3D::DeformableOctreeNode::updateGL().


Member Function Documentation

void animal::octree::ManipulatedMeshVertex::draw  )  [virtual]
 

Reimplemented from animal::ConstrainedItem.

Definition at line 154 of file ManipulatedMeshVertex.cpp.

References animal::octree::SFVec3fCellConstrained::getSFVec3f(), and X3DTK::X3D::DeformableOctreeNode::getToolsSize().

void animal::octree::ManipulatedMeshVertex::getPoint float &  ,
float &  ,
float & 
const [virtual]
 

Get the current 3D position of the selected object.

Reimplemented from animal::ConstrainedItem.

Definition at line 122 of file ManipulatedMeshVertex.cpp.

References _initPos.

SFVec3fCellConstrained* animal::octree::ManipulatedMeshVertex::getVertex  )  const [inline]
 

Definition at line 44 of file ManipulatedMeshVertex.h.

void animal::octree::ManipulatedMeshVertex::moveTo float  ,
float  ,
float 
[virtual]
 

Reimplemented from animal::ConstrainedItem.

Reimplemented in animal::octree::ManipulatedMeshVertexAnimated< t_Vector, t_Real, t_VecReal >.

Definition at line 131 of file ManipulatedMeshVertex.cpp.

References animal::octree::Octree::directManipulation(), X3DTK::X3D::DeformableOctreeNode::getOctree(), animal::octree::Octree::movedRecLeaves(), Require, animal::octree::FastOctree< T, S, U >::root(), X3DTK::X3D::DeformableOctreeNode::updateGL(), and animal::octree::Vec3d.

bool animal::octree::ManipulatedMeshVertex::operator== const ConstrainedItem  )  const [virtual]
 

Implements animal::ConstrainedItem.

Definition at line 148 of file ManipulatedMeshVertex.cpp.

References _dosn, and _vertex.


Member Data Documentation

X3DTK::X3D::DeformableOctreeNode* animal::octree::ManipulatedMeshVertex::_dosn [protected]
 

Definition at line 59 of file ManipulatedMeshVertex.h.

Referenced by operator==().

Vec3d animal::octree::ManipulatedMeshVertex::_initPos [protected]
 

Definition at line 61 of file ManipulatedMeshVertex.h.

Referenced by getPoint(), and ManipulatedMeshVertex().

SFVec3fCellConstrained* animal::octree::ManipulatedMeshVertex::_vertex [protected]
 

Definition at line 60 of file ManipulatedMeshVertex.h.

Referenced by operator==().


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