Blender V2.61 - r43446
Public Member Functions

CcdGraphicController Class Reference

CcdGraphicController is a graphic object that supports view frustrum culling and occlusion. More...

#include <CcdGraphicController.h>

Inheritance diagram for CcdGraphicController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CcdGraphicController (CcdPhysicsEnvironment *phyEnv, PHY_IMotionState *motionState)
virtual ~CcdGraphicController ()
void setLocalAabb (const btVector3 &aabbMin, const btVector3 &aabbMax)
void setLocalAabb (const MT_Point3 &aabbMin, const MT_Point3 &aabbMax)
virtual void setLocalAabb (const PHY__Vector3 &aabbMin, const PHY__Vector3 &aabbMax)
virtual void setLocalAabb (const float aabbMin[3], const float aabbMax[3])
PHY_IMotionStateGetMotionState ()
void getAabb (btVector3 &aabbMin, btVector3 &aabbMax)
virtual void setBroadphaseHandle (btBroadphaseProxy *handle)
virtual btBroadphaseProxy * getBroadphaseHandle ()
virtual void SetPhysicsEnvironment (class PHY_IPhysicsEnvironment *env)
virtual bool SetGraphicTransform ()
virtual void Activate (bool active)
virtual void * getNewClientInfo ()
virtual void setNewClientInfo (void *clientinfo)
virtual PHY_IGraphicControllerGetReplica (class PHY_IMotionState *motionstate)

Detailed Description

CcdGraphicController is a graphic object that supports view frustrum culling and occlusion.

Definition at line 36 of file CcdGraphicController.h.


Constructor & Destructor Documentation

CcdGraphicController::CcdGraphicController ( CcdPhysicsEnvironment phyEnv,
PHY_IMotionState motionState 
)

Definition at line 25 of file CcdGraphicController.cpp.

Referenced by GetReplica().

CcdGraphicController::~CcdGraphicController ( ) [virtual]

Member Function Documentation

void CcdGraphicController::Activate ( bool  active) [virtual]
void CcdGraphicController::getAabb ( btVector3 &  aabbMin,
btVector3 &  aabbMax 
)
virtual btBroadphaseProxy* CcdGraphicController::getBroadphaseHandle ( ) [inline, virtual]
PHY_IMotionState* CcdGraphicController::GetMotionState ( ) [inline]

Definition at line 48 of file CcdGraphicController.h.

virtual void* CcdGraphicController::getNewClientInfo ( ) [inline, virtual]

Implements PHY_IController.

Definition at line 70 of file CcdGraphicController.h.

PHY_IGraphicController * CcdGraphicController::GetReplica ( class PHY_IMotionState motionstate) [virtual]

Reimplemented from PHY_IGraphicController.

Definition at line 118 of file CcdGraphicController.cpp.

References CcdGraphicController(), and NULL.

virtual void CcdGraphicController::setBroadphaseHandle ( btBroadphaseProxy *  handle) [inline, virtual]
bool CcdGraphicController::SetGraphicTransform ( ) [virtual]

Updates the Aabb based on the motion state

Implements PHY_IGraphicController.

Definition at line 106 of file CcdGraphicController.cpp.

References getAabb(), CcdPhysicsEnvironment::getCullingTree(), NULL, and btDbvtBroadphase::setAabb().

Referenced by setLocalAabb().

virtual void CcdGraphicController::setLocalAabb ( const float  aabbMin[3],
const float  aabbMax[3] 
) [virtual]
void CcdGraphicController::setLocalAabb ( const PHY__Vector3 aabbMin,
const PHY__Vector3 aabbMax 
) [virtual]

Implements PHY_IGraphicController.

Definition at line 58 of file CcdGraphicController.cpp.

References SetGraphicTransform().

void CcdGraphicController::setLocalAabb ( const btVector3 &  aabbMin,
const btVector3 &  aabbMax 
)

Definition at line 44 of file CcdGraphicController.cpp.

References SetGraphicTransform().

void CcdGraphicController::setLocalAabb ( const MT_Point3 aabbMin,
const MT_Point3 aabbMax 
)

Definition at line 51 of file CcdGraphicController.cpp.

References SetGraphicTransform().

virtual void CcdGraphicController::setNewClientInfo ( void *  clientinfo) [inline, virtual]

Implements PHY_IController.

Definition at line 71 of file CcdGraphicController.h.

void CcdGraphicController::SetPhysicsEnvironment ( class PHY_IPhysicsEnvironment env) [virtual]

Implements PHY_IController.

Definition at line 130 of file CcdGraphicController.cpp.

References Activate(), and getBroadphaseHandle().


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