Public Member Functions | Protected Member Functions | Protected Attributes
Opcode::VolumeCollider Class Reference

#include <Opcode.h>

Inheritance diagram for Opcode::VolumeCollider:
Inheritance graph
[legend]

List of all members.

Public Member Functions

inline_ udword GetNbTouchedPrimitives () const
inline_ udword GetNbVolumeBVTests () const
inline_ udword GetNbVolumePrimTests () const
inline_ const udwordGetTouchedPrimitives () const
 override (Collider) const char *ValidateSettings()
 VolumeCollider ()
virtual ~VolumeCollider ()=0

Protected Member Functions

void _Dump (const AABBCollisionNode *node)
void _Dump (const AABBNoLeafNode *node)
void _Dump (const AABBQuantizedNode *node)
void _Dump (const AABBQuantizedNoLeafNode *node)
inline_ BOOL IsCacheValid (VolumeCache &cache)
 override (Collider) inline_ void InitQuery()

Protected Attributes

Point mCenterCoeff
Point mExtentsCoeff
udword mNbVolumeBVTests
 Number of Volume-BV tests.
udword mNbVolumePrimTests
 Number of Volume-Primitive tests.
ContainermTouchedPrimitives
 List of touched primitives.

Detailed Description

Definition at line 33 of file Opcode.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 40 of file OPC_VolumeCollider.cpp.

VolumeCollider::~VolumeCollider ( ) [pure virtual]

Destructor.

Definition at line 52 of file OPC_VolumeCollider.cpp.


Member Function Documentation

Gets the number of touched primitives after a collision query.

See also:
GetContactStatus()
GetTouchedPrimitives()
Returns:
the number of touched primitives

Definition at line 50 of file Opcode.h.

Stats: gets the number of Volume-BV overlap tests after a collision query.

See also:
GetNbVolumePrimTests()
Returns:
the number of Volume-BV tests performed during last query

Definition at line 71 of file Opcode.h.

Stats: gets the number of Volume-Triangle overlap tests after a collision query.

See also:
GetNbVolumeBVTests()
Returns:
the number of Volume-Triangle tests performed during last query

Definition at line 80 of file Opcode.h.

Gets the list of touched primitives after a collision query.

See also:
GetContactStatus()
GetNbTouchedPrimitives()
Returns:
the list of touched primitives (primitive indices)

Definition at line 60 of file Opcode.h.

Definition at line 121 of file Opcode.h.

Validates current settings. You should call this method after all the settings / callbacks have been defined for a collider.

Returns:
null if everything is ok, else a string describing the problem

Reimplemented in Opcode::PlanesCollider.

Opcode::VolumeCollider::override ( Collider  ) [inline, protected]

Initializes a query

Definition at line 113 of file Opcode.h.


Member Data Documentation

Definition at line 97 of file Opcode.h.

Definition at line 98 of file Opcode.h.

Number of Volume-BV tests.

Definition at line 100 of file Opcode.h.

Number of Volume-Primitive tests.

Definition at line 101 of file Opcode.h.

List of touched primitives.

Definition at line 94 of file Opcode.h.


The documentation for this class was generated from the following files:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:44:02