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

A modifier that will combine vertices together that are close to each other. More...

#include <weldverticesmodifier.h>

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

Public Member Functions

 WeldVerticesModifier ()
 Blank constructor.
 
virtual ~WeldVerticesModifier ()
 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...
 
WeldVerticesModifierSetTolerance (const Real Tolerance)
 Sets the distance within which vertices will be combined. More...
 
- Public Member Functions inherited from Mezzanine::Graphics::Procedural::MeshModifier
 MeshModifier ()
 Blank constructor.
 
virtual ~MeshModifier ()
 Class destructor.
 

Protected Attributes

Real WeldTolerance
 The distance vertices have to be within to be combined. More...
 

Detailed Description

A modifier that will combine vertices together that are close to each other.

Definition at line 82 of file weldverticesmodifier.h.

Member Function Documentation

String Mezzanine::Graphics::Procedural::WeldVerticesModifier::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 129 of file weldverticesmodifier.cpp.

void Mezzanine::Graphics::Procedural::WeldVerticesModifier::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 88 of file weldverticesmodifier.cpp.

WeldVerticesModifier & Mezzanine::Graphics::Procedural::WeldVerticesModifier::SetTolerance ( const Real  Tolerance)

Sets the distance within which vertices will be combined.

Parameters
ToleranceThe distance vertices have to be within to be combined.
Returns
Returns a reference to this.

Definition at line 135 of file weldverticesmodifier.cpp.

Member Data Documentation

Real Mezzanine::Graphics::Procedural::WeldVerticesModifier::WeldTolerance
protected

The distance vertices have to be within to be combined.

Definition at line 87 of file weldverticesmodifier.h.


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