AnimaL | 
     Tutorial | 
	 Documentation | 
   
#include <OctreeEngine.h>
Inheritance diagram for animal::octree::OctreeEngine:

Definition at line 29 of file OctreeEngine.h.
Public Member Functions | |
| OctreeEngine (Vec3d bboxMin, Vec3d bboxMax, MFVec3f *points, MFVec3f normals, unsigned int nMaxPointsPerCell) | |
| ~OctreeEngine () | |
| virtual void | move (double dt) | 
| virtual void | init () | 
Protected Member Functions | |
| void | readPositionsFrom (int) | 
| Copy the given field to the position of the vertices.   | |
| void | writePositionsTo (int) | 
| Copy the position of the vertices to the given field.   | |
| void | v_eq (int target_value_id, int a) | 
| target = a where target and a are abstract vectors made of the union of all node values?   | |
| void | v_assign (int target_value_id, const Vec3d &a) | 
| target = a where target is an abstract vector and a a value to copy to all the entries.   | |
| void | v_eq_a_plus_alpha_b (int target_value_id, int a, FloatingPointType alpha, int b) | 
| target = a + alpha * b where target, a and b are abstract vectors and alpha a scalar value.   | |
Protected Attributes | |
| double | _time | 
      
  | 
  ||||||||||||||||||||||||
| 
 
 Definition at line 30 of file OctreeEngine.cpp. References animal::octree::Vec3d.  | 
  
      
  | 
  
| 
 
 Definition at line 36 of file OctreeEngine.cpp.  | 
  
      
  | 
  
| 
 
 Reimplemented from animal::Engine. Definition at line 39 of file OctreeEngine.cpp. References v_assign(), animal::octree::Vec3d, and writePositionsTo(). Referenced by X3DTK::X3D::DeformableOctreeNode::postInit().  | 
  
      
  | 
  
| 
 
 Reimplemented from animal::Engine. Definition at line 46 of file OctreeEngine.cpp. References _time, animal::octree::Octree::movedRecLeaves(), readPositionsFrom(), and v_eq_a_plus_alpha_b(). Referenced by X3DTK::X3D::DeformableOctreeNode::animate().  | 
  
      
  | 
  
| 
 Copy the given field to the position of the vertices. 
 Definition at line 92 of file OctreeEngine.cpp. References animal::octree::ConstrainedVertex::computePosition(), animal::octree::ConstrainedVertex::isFree(), animal::octree::ConstrainedVertex::setPosition(), and animal::octree::ConstrainedVertex::value(). Referenced by move().  | 
  
      
  | 
  ||||||||||||
| 
 target = a where target is an abstract vector and a a value to copy to all the entries. 
 Definition at line 64 of file OctreeEngine.cpp. References animal::octree::ConstrainedVertex::setValue(), and animal::octree::Vec3d. Referenced by init().  | 
  
      
  | 
  ||||||||||||
| 
 target = a where target and a are abstract vectors made of the union of all node values? 
 Definition at line 55 of file OctreeEngine.cpp. References animal::octree::ConstrainedVertex::setValue(), and animal::octree::ConstrainedVertex::value().  | 
  
      
  | 
  ||||||||||||||||||||
| 
 target = a + alpha * b where target, a and b are abstract vectors and alpha a scalar value. 
 Definition at line 73 of file OctreeEngine.cpp. References animal::octree::ConstrainedVertex::computeValueFromParents(), animal::octree::FloatingPointType, animal::octree::ConstrainedVertex::isFree(), animal::octree::ConstrainedVertex::setValue(), and animal::octree::ConstrainedVertex::value(). Referenced by animal::octree::OctreeODEEngine::integrate_VVerlet(), and move().  | 
  
      
  | 
  
| 
 Copy the position of the vertices to the given field. 
 Definition at line 114 of file OctreeEngine.cpp. References animal::octree::ConstrainedVertex::computeValueFromParents(), animal::octree::ConstrainedVertex::getPosition(), animal::octree::ConstrainedVertex::isFree(), and animal::octree::ConstrainedVertex::setValue(). Referenced by init().  | 
  
      
  | 
  
| 
 
 Definition at line 40 of file OctreeEngine.h. Referenced by move().  | 
  
 
1.3.6