Project

General

Profile

SO3Engine
OgreNewt::WorldTriggerManager Class Reference

#include <OgreNewt_World.h>

Inheritance diagram for OgreNewt::WorldTriggerManager:

Classes

class  TriggerCallback
 

Public Types

typedef std::function< void(NewtonBody *const visitor)> WorldTriggerEnterCallback
 
typedef std::function< void(NewtonBody *const visitor)> WorldTriggerInsideCallback
 
typedef std::function< void(NewtonBody *const visitor)> WorldTriggerExitCallback
 

Public Member Functions

 WorldTriggerManager (World *const world)
 
CustomTriggerController * CreateController (const dMatrix &matrix, NewtonCollision *const convexShape)
 
void DestroyController (CustomTriggerController *const controller)
 
virtual void EventCallback (const CustomTriggerController *const me, TriggerEventType event, NewtonBody *const visitor) const
 

Detailed Description

Definition at line 29 of file OgreNewt_World.h.

Member Typedef Documentation

◆ WorldTriggerEnterCallback

typedef std::function<void(NewtonBody* const visitor)> OgreNewt::WorldTriggerManager::WorldTriggerEnterCallback

Definition at line 32 of file OgreNewt_World.h.

◆ WorldTriggerExitCallback

typedef std::function<void(NewtonBody* const visitor)> OgreNewt::WorldTriggerManager::WorldTriggerExitCallback

Definition at line 34 of file OgreNewt_World.h.

◆ WorldTriggerInsideCallback

typedef std::function<void(NewtonBody* const visitor)> OgreNewt::WorldTriggerManager::WorldTriggerInsideCallback

Definition at line 33 of file OgreNewt_World.h.

Constructor & Destructor Documentation

◆ WorldTriggerManager()

OgreNewt::WorldTriggerManager::WorldTriggerManager ( World *const  world)

Definition at line 12 of file OgreNewt_World.cpp.

Member Function Documentation

◆ CreateController()

CustomTriggerController * OgreNewt::WorldTriggerManager::CreateController ( const dMatrix &  matrix,
NewtonCollision *const  convexShape 
)
inline

Definition at line 96 of file OgreNewt_World.h.

◆ DestroyController()

void OgreNewt::WorldTriggerManager::DestroyController ( CustomTriggerController *const  controller)
inline

Definition at line 104 of file OgreNewt_World.h.

◆ EventCallback()

virtual void OgreNewt::WorldTriggerManager::EventCallback ( const CustomTriggerController *const  me,
TriggerEventType  event,
NewtonBody *const  visitor 
) const
inlinevirtual

Definition at line 111 of file OgreNewt_World.h.


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