Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Protected Attributes | List of all members
Mezzanine::Graphics::Procedural::PlaneUVModifier Class Reference

A modifier that will generate UV coordinates as they would need to be on a plane model. More...

#include <planeuvmodifier.h>

+ Inheritance diagram for Mezzanine::Graphics::Procedural::PlaneUVModifier:
+ Collaboration diagram for Mezzanine::Graphics::Procedural::PlaneUVModifier:

Public Member Functions

 PlaneUVModifier ()
 Blank constructor.
 
virtual ~PlaneUVModifier ()
 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...
 
PlaneUVModifierSetPlaneCenter (const Vector3 &Center)
 Sets the central location of the Plane to project UV's onto. More...
 
PlaneUVModifierSetPlaneCenter (const Real X, const Real Y, const Real Z)
 Sets the central location of the Plane to project UV's onto. More...
 
PlaneUVModifierSetPlaneNormal (const Vector3 &Normal)
 Sets the facing direction of the Plane to project UV's onto. More...
 
PlaneUVModifierSetPlaneNormal (const Real X, const Real Y, const Real Z)
 Sets the facing direction of the Plane to project UV's onto. More...
 
PlaneUVModifierSetPlaneSize (const Vector2 &Size)
 Sets the size of the Plane to project UV's onto. More...
 
PlaneUVModifierSetPlaneSize (const Real X, const Real Y)
 Sets the size of the Plane to project UV's onto. More...
 
- Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier
 MeshModifier ()
 Blank constructor.
 
virtual ~MeshModifier ()
 Class destructor.
 

Protected Attributes

Vector3 PlaneCenter
 The location of the center of the Plane. More...
 
Vector3 PlaneNormal
 The facing direction of the Plane. More...
 
Vector2 PlaneSize
 The size of the bounded area of the plane. More...
 

Detailed Description

A modifier that will generate UV coordinates as they would need to be on a plane model.

Definition at line 82 of file planeuvmodifier.h.

Member Function Documentation

String Mezzanine::Graphics::Procedural::PlaneUVModifier::GetName ( ) const
virtual

Gets the name of this modifier.

Returns
Returns a string containing the name of this modifier.

Implements Mezzanine::Graphics::Procedural::MeshModifier.

Definition at line 99 of file planeuvmodifier.cpp.

void Mezzanine::Graphics::Procedural::PlaneUVModifier::Modify ( TriangleBuffer Buffer)
virtual

Alters the generated pixels in a TriangleBuffer.

Parameters
BufferThe buffer to be modified.

Implements Mezzanine::Graphics::Procedural::MeshModifier.

Definition at line 87 of file planeuvmodifier.cpp.

PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneCenter ( const Vector3 Center)

Sets the central location of the Plane to project UV's onto.

Parameters
CenterThe location of the center of the Plane.
Returns
Returns a reference to this.

Definition at line 107 of file planeuvmodifier.cpp.

PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneCenter ( const Real  X,
const Real  Y,
const Real  Z 
)

Sets the central location of the Plane to project UV's onto.

Parameters
XThe location of the center of the Plane on the X axis.
YThe location of the center of the Plane on the Y axis.
ZThe location of the center of the Plane on the Z axis.
Returns
Returns a reference to this.

Definition at line 113 of file planeuvmodifier.cpp.

PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneNormal ( const Vector3 Normal)

Sets the facing direction of the Plane to project UV's onto.

Parameters
NormalThe facing direction of the Plane.
Returns
Returns a reference to this.

Definition at line 119 of file planeuvmodifier.cpp.

PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneNormal ( const Real  X,
const Real  Y,
const Real  Z 
)

Sets the facing direction of the Plane to project UV's onto.

Parameters
XThe X component of the directional vector the Plane is facing.
YThe Y component of the directional vector the Plane is facing.
ZThe Z component of the directional vector the Plane is facing.
Returns
Returns a reference to this.

Definition at line 125 of file planeuvmodifier.cpp.

PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneSize ( const Vector2 Size)

Sets the size of the Plane to project UV's onto.

Parameters
SizeThe size of the bounded area of the Plane.
Returns
Returns a reference to this.

Definition at line 131 of file planeuvmodifier.cpp.

PlaneUVModifier & Mezzanine::Graphics::Procedural::PlaneUVModifier::SetPlaneSize ( const Real  X,
const Real  Y 
)

Sets the size of the Plane to project UV's onto.

Parameters
XThe size of the bounded area of the Plane on the X axis.
YThe size of the bounded area of the Plane on the Y axis.
Returns
Returns a reference to this.

Definition at line 137 of file planeuvmodifier.cpp.

Member Data Documentation

Vector3 Mezzanine::Graphics::Procedural::PlaneUVModifier::PlaneCenter
protected

The location of the center of the Plane.

Definition at line 87 of file planeuvmodifier.h.

Vector3 Mezzanine::Graphics::Procedural::PlaneUVModifier::PlaneNormal
protected

The facing direction of the Plane.

Definition at line 90 of file planeuvmodifier.h.

Vector2 Mezzanine::Graphics::Procedural::PlaneUVModifier::PlaneSize
protected

The size of the bounded area of the plane.

Definition at line 93 of file planeuvmodifier.h.


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