A modifier that will increase or decrease the distance to a point to match a specified radius. More...
#include <spherifymodifier.h>
Inheritance diagram for Mezzanine::Graphics::Procedural::SpherifyModifier:
Collaboration diagram for Mezzanine::Graphics::Procedural::SpherifyModifier:Public Member Functions | |
| SpherifyModifier () | |
| Blank constructor. | |
| virtual | ~SpherifyModifier () |
| Class destructor. | |
| virtual String | GetName () const |
| Gets the name of this modifier. More... | |
| virtual void | Modify (TriangleBuffer &Buffer) |
| Alters the generated pixels in a TriangleBuffer. More... | |
| SpherifyModifier & | SetSphereCenter (const Vector3 &Center) |
| Sets the location of the sphere to project to. More... | |
| SpherifyModifier & | SetSphereCenter (const Real X, const Real Y, const Real Z) |
| Sets the location of the sphere to project to. More... | |
| SpherifyModifier & | SetSphereRadius (const Real Radius) |
| Sets the size of the sphere to project onto. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier | |
| MeshModifier () | |
| Blank constructor. | |
| virtual | ~MeshModifier () |
| Class destructor. | |
Protected Attributes | |
| Vector3 | SphereCenter |
| The central point for the sphere to project vertices onto. More... | |
| Real | SphereRadius |
| The radius of the sphere to project vertices onto. More... | |
A modifier that will increase or decrease the distance to a point to match a specified radius.
Definition at line 82 of file spherifymodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 106 of file spherifymodifier.cpp.
|
virtual |
Alters the generated pixels in a TriangleBuffer.
| Buffer | The buffer to be modified. |
| If | the SphereRadius is 0 or less when this is called an INVALID_STATE_EXCEPTION will be thrown. |
Implements Mezzanine::Graphics::Procedural::MeshModifier.
Definition at line 90 of file spherifymodifier.cpp.
| SpherifyModifier & Mezzanine::Graphics::Procedural::SpherifyModifier::SetSphereCenter | ( | const Vector3 & | Center | ) |
Sets the location of the sphere to project to.
| Center | The central point for the sphere to project vertices onto. |
Definition at line 112 of file spherifymodifier.cpp.
| SpherifyModifier & Mezzanine::Graphics::Procedural::SpherifyModifier::SetSphereCenter | ( | const Real | X, |
| const Real | Y, | ||
| const Real | Z | ||
| ) |
Sets the location of the sphere to project to.
| X | The central point on the X axis for the sphere to project vertices onto. |
| Y | The central point on the Y axis for the sphere to project vertices onto. |
| Z | The central point on the Z axis for the sphere to project vertices onto. |
Definition at line 118 of file spherifymodifier.cpp.
| SpherifyModifier & Mezzanine::Graphics::Procedural::SpherifyModifier::SetSphereRadius | ( | const Real | Radius | ) |
Sets the size of the sphere to project onto.
| Radius | The radius of the sphere to project vertices onto. |
Definition at line 124 of file spherifymodifier.cpp.
|
protected |
The central point for the sphere to project vertices onto.
Definition at line 87 of file spherifymodifier.h.
|
protected |
The radius of the sphere to project vertices onto.
Definition at line 90 of file spherifymodifier.h.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.