Sly Engine
VisualizeOBBCommand Class Reference

#include <VisualizeOBBCommand.h>

Inheritance diagram for VisualizeOBBCommand:
Inheritance graph
Collaboration diagram for VisualizeOBBCommand:
Collaboration graph

Public Member Functions

 VisualizeOBBCommand ()=default
 
 VisualizeOBBCommand (const VisualizeOBBCommand &)=delete
 
 VisualizeOBBCommand (VisualizeOBBCommand &&)=delete
 
VisualizeOBBCommandoperator= (const VisualizeOBBCommand &)=delete
 
VisualizeOBBCommandoperator= (VisualizeOBBCommand &&)=delete
 
virtual ~VisualizeOBBCommand ()=default
 
 VisualizeOBBCommand (const Matrix &world, const Vect &col)
 Specialize constructor for initial creation of the command. More...
 
void Initialize (const Matrix &world, const Vect &color)
 Allows the OBB to be initialized with data so that a new command does not need to be created. More...
 
virtual void execute () override
 Executes this command. More...
 
- Public Member Functions inherited from VisualizeCommand
 VisualizeCommand ()=default
 
 VisualizeCommand (const VisualizeCommand &)=delete
 
 VisualizeCommand (VisualizeCommand &&)=delete
 
VisualizeCommandoperator= (const VisualizeCommand &)=delete
 
VisualizeCommandoperator= (VisualizeCommand &&)=delete
 
virtual ~VisualizeCommand ()=default
 
- Public Member Functions inherited from CommandBase
 CommandBase ()=default
 Default constructor. More...
 
 CommandBase (const CommandBase &)=delete
 Copy constructor. More...
 
 CommandBase (CommandBase &&)=delete
 Move constructor. More...
 
CommandBaseoperator= (const CommandBase &)=delete
 Assignment operator. More...
 
CommandBaseoperator= (CommandBase &&)=delete
 Move assignment operator. More...
 
virtual ~CommandBase ()=default
 Deconstructor. More...
 

Private Attributes

Matrix world
 
Vect color
 

Constructor & Destructor Documentation

◆ VisualizeOBBCommand() [1/4]

VisualizeOBBCommand::VisualizeOBBCommand ( )
default

◆ VisualizeOBBCommand() [2/4]

VisualizeOBBCommand::VisualizeOBBCommand ( const VisualizeOBBCommand )
delete

◆ VisualizeOBBCommand() [3/4]

VisualizeOBBCommand::VisualizeOBBCommand ( VisualizeOBBCommand &&  )
delete

◆ ~VisualizeOBBCommand()

virtual VisualizeOBBCommand::~VisualizeOBBCommand ( )
virtualdefault

◆ VisualizeOBBCommand() [4/4]

VisualizeOBBCommand::VisualizeOBBCommand ( const Matrix &  world,
const Vect &  col 
)

Specialize constructor for initial creation of the command.

Parameters
worldThe world.
colThe col.

Member Function Documentation

◆ execute()

void VisualizeOBBCommand::execute ( )
overridevirtual

Executes this command.

Implements CommandBase.

Here is the call graph for this function:

◆ Initialize()

void VisualizeOBBCommand::Initialize ( const Matrix &  world,
const Vect &  color 
)

Allows the OBB to be initialized with data so that a new command does not need to be created.

Parameters
worldThe world Matrix.
colorThe color Vector.
Here is the caller graph for this function:

◆ operator=() [1/2]

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

◆ operator=() [2/2]

VisualizeOBBCommand& VisualizeOBBCommand::operator= ( VisualizeOBBCommand &&  )
delete

Member Data Documentation

◆ color

Vect VisualizeOBBCommand::color
private

◆ world

Matrix VisualizeOBBCommand::world
private

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