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

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

#include <hemisphereuvmodifier.h>

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

Public Member Functions

 HemisphereUVModifier ()
 Blank constructor.
 
virtual ~HemisphereUVModifier ()
 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...
 
HemisphereUVModifierSetInnerHemisphereQuad (const RealRect &Inner)
 Sets the texture bounds for the inside of the hemisphere. More...
 
HemisphereUVModifierSetOuterHemisphereQuad (const RealRect &Outer)
 Sets the texture bounds for the outside of the hemisphere. More...
 
- Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier
 MeshModifier ()
 Blank constructor.
 
virtual ~MeshModifier ()
 Class destructor.
 

Protected Attributes

RealRect InnerHemisphereQuad
 The bounds of the texture atlas that is to be applied to the under part of the hemisphere. More...
 
RealRect OuterHemisphereQuad
 The bounds of the texture atlas that is to be applied to the top part of the hemisphere. More...
 

Detailed Description

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

Definition at line 84 of file hemisphereuvmodifier.h.

Member Function Documentation

String Mezzanine::Graphics::Procedural::HemisphereUVModifier::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 116 of file hemisphereuvmodifier.cpp.

void Mezzanine::Graphics::Procedural::HemisphereUVModifier::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 89 of file hemisphereuvmodifier.cpp.

HemisphereUVModifier & Mezzanine::Graphics::Procedural::HemisphereUVModifier::SetInnerHemisphereQuad ( const RealRect Inner)

Sets the texture bounds for the inside of the hemisphere.

Parameters
InnerThe bounds of the texture atlas that is to be applied to the under part of the hemisphere.
Returns
Returns a reference to this.

Definition at line 128 of file hemisphereuvmodifier.cpp.

HemisphereUVModifier & Mezzanine::Graphics::Procedural::HemisphereUVModifier::SetOuterHemisphereQuad ( const RealRect Outer)

Sets the texture bounds for the outside of the hemisphere.

Parameters
OuterThe bounds of the texture atlas that is to be applied to the top part of the hemisphere.
Returns
Returns a reference to this.

Definition at line 122 of file hemisphereuvmodifier.cpp.

Member Data Documentation

RealRect Mezzanine::Graphics::Procedural::HemisphereUVModifier::InnerHemisphereQuad
protected

The bounds of the texture atlas that is to be applied to the under part of the hemisphere.

Definition at line 92 of file hemisphereuvmodifier.h.

RealRect Mezzanine::Graphics::Procedural::HemisphereUVModifier::OuterHemisphereQuad
protected

The bounds of the texture atlas that is to be applied to the top part of the hemisphere.

Definition at line 89 of file hemisphereuvmodifier.h.


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