Ketchup Engine
Loading...
Searching...
No Matches
VisualizerCommandFactory Class Reference

#include <VisualizerCommandFactory.h>

Collaboration diagram for VisualizerCommandFactory:
Collaboration graph

Public Types

using BSphereCommandList = std::list< ShowBSphereCommand * >
 
using AABBCommandList = std::list< ShowAABBCommand * >
 
using PointCommandList = std::list< ShowPointCommand * >
 

Public Member Functions

 VisualizerCommandFactory ()=default
 
 VisualizerCommandFactory (const VisualizerCommandFactory &)=delete
 
VisualizerCommandFactoryoperator= (const VisualizerCommandFactory &)=delete
 
 ~VisualizerCommandFactory ()
 
ShowBSphereCommandGetShowBSphere (const BSphere &bs, const Vect &col)
 
void Recycle (ShowBSphereCommand *c)
 
ShowAABBCommandGetShowAABB (const AABB &aabb, const Vect &col)
 
void Recycle (ShowAABBCommand *c)
 
ShowPointCommandGetShowPoint (const Vect &pos, float rad, const Vect &col)
 
void Recycle (ShowPointCommand *c)
 

Private Attributes

BSphereCommandList m_bsCmdActive
 
BSphereCommandList m_bsCmdPool
 
AABBCommandList m_aabbCmdActive
 
AABBCommandList m_aabbCmdPool
 
PointCommandList m_pntCmdActive
 
PointCommandList m_pntCmdPool
 

Member Typedef Documentation

◆ AABBCommandList

◆ BSphereCommandList

◆ PointCommandList

Constructor & Destructor Documentation

◆ VisualizerCommandFactory() [1/2]

VisualizerCommandFactory::VisualizerCommandFactory ( )
default

◆ VisualizerCommandFactory() [2/2]

VisualizerCommandFactory::VisualizerCommandFactory ( const VisualizerCommandFactory )
delete

◆ ~VisualizerCommandFactory()

VisualizerCommandFactory::~VisualizerCommandFactory ( )

Member Function Documentation

◆ GetShowAABB()

ShowAABBCommand * VisualizerCommandFactory::GetShowAABB ( const AABB aabb,
const Vect &  col 
)

◆ GetShowBSphere()

ShowBSphereCommand * VisualizerCommandFactory::GetShowBSphere ( const BSphere bs,
const Vect &  col 
)

◆ GetShowPoint()

ShowPointCommand * VisualizerCommandFactory::GetShowPoint ( const Vect &  pos,
float  rad,
const Vect &  col 
)

◆ operator=()

VisualizerCommandFactory & VisualizerCommandFactory::operator= ( const VisualizerCommandFactory )
delete

◆ Recycle() [1/3]

void VisualizerCommandFactory::Recycle ( ShowAABBCommand c)

◆ Recycle() [2/3]

void VisualizerCommandFactory::Recycle ( ShowBSphereCommand c)

◆ Recycle() [3/3]

void VisualizerCommandFactory::Recycle ( ShowPointCommand c)

Member Data Documentation

◆ m_aabbCmdActive

AABBCommandList VisualizerCommandFactory::m_aabbCmdActive
private

◆ m_aabbCmdPool

AABBCommandList VisualizerCommandFactory::m_aabbCmdPool
private

◆ m_bsCmdActive

BSphereCommandList VisualizerCommandFactory::m_bsCmdActive
private

◆ m_bsCmdPool

BSphereCommandList VisualizerCommandFactory::m_bsCmdPool
private

◆ m_pntCmdActive

PointCommandList VisualizerCommandFactory::m_pntCmdActive
private

◆ m_pntCmdPool

PointCommandList VisualizerCommandFactory::m_pntCmdPool
private

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