![]() |
Sly Engine
|
#include <CollisionVolume.h>


Public Member Functions | |
| CollisionVolume ()=default | |
| Default constructor. More... | |
| CollisionVolume (const CollisionVolume &)=delete | |
| Copy constructor. More... | |
| CollisionVolume (CollisionVolume &&)=delete | |
| Move constructor. More... | |
| CollisionVolume & | operator= (const CollisionVolume &)=default |
| Assignment operator. More... | |
| CollisionVolume & | operator= (CollisionVolume &&)=delete |
| Move assignment operator. More... | |
| virtual | ~CollisionVolume ()=default |
| Deconstructor. More... | |
| virtual void | ComputeData (Model *mod, const Matrix &mat)=0 |
| Calculates the data. Pure virtual. More... | |
| virtual void | DebugView (const Vect &col) const =0 |
| Debug view for internal acknowledgment of type information on a generic collision volume. More... | |
| virtual bool | IntersectAccept (const CollisionVolume &other) const =0 |
| Intersect accept utilizing the visitor pattern. More... | |
| virtual bool | IntersectVisit (const CollisionVolumeBSphere &other) const =0 |
| Intersect visit for Sphere, using the visitor pattern. More... | |
| virtual bool | IntersectVisit (const CollisionVolumeAABB &other) const =0 |
| Intersect visit for AABB, using the visitor pattern. More... | |
| virtual bool | IntersectVisit (const CollisionVolumeOBB &other) const =0 |
| Intersect visit for OBB, using the visitor pattern. More... | |
|
default |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
|
virtualdefault |
Deconstructor.
|
pure virtual |
Calculates the data. Pure virtual.
| [in,out] | mod | If non-null, the modifier. |
| mat | The matrix. |
Implemented in CollisionVolumeOBB, CollisionVolumeAABB, and CollisionVolumeBSphere.

|
pure virtual |
Debug view for internal acknowledgment of type information on a generic collision volume.
| col | The col. |
The debug view is utilizing a trick when calculating the collider visualization models. We are using a generic CollisionVolume within the visualization that does not contain information on what type of model is being passed. Forcing all derived types to implement this functions allows a generic call on specific objects to act appropriately.
Implemented in CollisionVolumeOBB, CollisionVolumeAABB, and CollisionVolumeBSphere.

|
pure virtual |
Intersect accept utilizing the visitor pattern.
| other | The other collision volume. |
Implemented in CollisionVolumeOBB, CollisionVolumeAABB, and CollisionVolumeBSphere.

|
pure virtual |
Intersect visit for AABB, using the visitor pattern.
| other | The other AABB. |
Implemented in CollisionVolumeOBB, CollisionVolumeAABB, and CollisionVolumeBSphere.
|
pure virtual |
Intersect visit for Sphere, using the visitor pattern.
| other | The other collision volume. |
Implemented in CollisionVolumeOBB, CollisionVolumeAABB, and CollisionVolumeBSphere.

|
pure virtual |
Intersect visit for OBB, using the visitor pattern.
| other | The other OBB. |
Implemented in CollisionVolumeOBB, CollisionVolumeAABB, and CollisionVolumeBSphere.
|
delete |
Move assignment operator.
|
default |
Assignment operator.