Public Member Functions | Protected Attributes | List of all members
HybridSphereCollider Class Reference

#include <OPC_SphereCollider.h>

Inheritance diagram for HybridSphereCollider:
Inheritance graph
[legend]

Public Member Functions

bool Collide (SphereCache &cache, const Sphere &sphere, const HybridModel &model, const Matrix4x4 *worlds=null, const Matrix4x4 *worldm=null)
 
 HybridSphereCollider ()
 
virtual ~HybridSphereCollider ()
 
- Public Member Functions inherited from SphereCollider
bool Collide (SphereCache &cache, const Sphere &sphere, const AABBTree *tree)
 
bool Collide (SphereCache &cache, const Sphere &sphere, const Model &model, const Matrix4x4 *worlds=null, const Matrix4x4 *worldm=null)
 
 SphereCollider ()
 
virtual ~SphereCollider ()
 
- Public Member Functions inherited from VolumeCollider
inline_ udword GetNbTouchedPrimitives () const
 
inline_ udword GetNbVolumeBVTests () const
 
inline_ udword GetNbVolumePrimTests () const
 
const inline_ udwordGetTouchedPrimitives () const
 
 override (Collider) const char *ValidateSettings()
 
 VolumeCollider ()
 
virtual ~VolumeCollider ()=0
 
- Public Member Functions inherited from Collider
 Collider ()
 
inline_ BOOL ContactFound () const
 
inline_ BOOL FirstContactEnabled () const
 
inline_ BOOL GetContactStatus () const
 
inline_ void SetFirstContact (bool flag)
 
inline_ void SetPrimitiveTests (bool flag)
 
inline_ void SetTemporalCoherence (bool flag)
 
inline_ BOOL SkipPrimitiveTests () const
 
inline_ BOOL TemporalCoherenceEnabled () const
 
inline_ BOOL TemporalHit () const
 
virtual const char * ValidateSettings ()=0
 
virtual ~Collider ()
 

Protected Attributes

Container mTouchedBoxes
 
- Protected Attributes inherited from SphereCollider
Point mCenter
 Sphere center. More...
 
float mRadius2
 Sphere radius squared. More...
 
- Protected Attributes inherited from VolumeCollider
Point mCenterCoeff
 
Point mExtentsCoeff
 
udword mNbVolumeBVTests
 Number of Volume-BV tests. More...
 
udword mNbVolumePrimTests
 Number of Volume-Primitive tests. More...
 
ContainermTouchedPrimitives
 List of touched primitives. More...
 
- Protected Attributes inherited from Collider
const BaseModelmCurrentModel
 Current model for collision query (owner of touched faces) More...
 
udword mFlags
 Bit flags. More...
 
const MeshInterfacemIMesh
 User-defined mesh interface. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SphereCollider
void _Collide (const AABBCollisionNode *node)
 
void _Collide (const AABBNoLeafNode *node)
 
void _Collide (const AABBQuantizedNode *node)
 
void _Collide (const AABBQuantizedNoLeafNode *node)
 
void _Collide (const AABBTreeNode *node)
 
void _CollideNoPrimitiveTest (const AABBCollisionNode *node)
 
void _CollideNoPrimitiveTest (const AABBNoLeafNode *node)
 
void _CollideNoPrimitiveTest (const AABBQuantizedNode *node)
 
void _CollideNoPrimitiveTest (const AABBQuantizedNoLeafNode *node)
 
BOOL InitQuery (SphereCache &cache, const Sphere &sphere, const Matrix4x4 *worlds=null, const Matrix4x4 *worldm=null)
 
inline_ BOOL SphereAABBOverlap (const Point &center, const Point &extents)
 
inline_ BOOL SphereContainsBox (const Point &bc, const Point &be)
 
BOOL SphereTriOverlap (const Point &vert0, const Point &vert1, const Point &vert2)
 
- Protected Member Functions inherited from VolumeCollider
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 Member Functions inherited from Collider
virtual inline_ void InitQuery ()
 
inline_ BOOL Setup (const BaseModel *model)
 

Detailed Description

Definition at line 84 of file OPC_SphereCollider.h.

Constructor & Destructor Documentation

◆ HybridSphereCollider()

HybridSphereCollider::HybridSphereCollider ( )

Constructor.

Definition at line 590 of file OPC_SphereCollider.cpp.

◆ ~HybridSphereCollider()

HybridSphereCollider::~HybridSphereCollider ( )
virtual

Destructor.

Definition at line 599 of file OPC_SphereCollider.cpp.

Member Function Documentation

◆ Collide()

bool HybridSphereCollider::Collide ( SphereCache cache,
const Sphere sphere,
const HybridModel model,
const Matrix4x4 worlds = null,
const Matrix4x4 worldm = null 
)

Definition at line 603 of file OPC_SphereCollider.cpp.

Member Data Documentation

◆ mTouchedBoxes

Container HybridSphereCollider::mTouchedBoxes
protected

Definition at line 93 of file OPC_SphereCollider.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 Wed Sep 7 2022 02:51:05