brushconstruct::Cone Class Reference

#include <Cone.h>

Inheritance diagram for brushconstruct::Cone:
Inheritance graph
[legend]
Collaboration diagram for brushconstruct::Cone:
Collaboration graph
[legend]

Public Member Functions

void generate (Brush &brush, const AABB &bounds, std::size_t sides, const TextureProjection &projection, const std::string &shader)
const std::string getName () const

Static Public Member Functions

static BrushConstructorgetInstance ()

Static Private Attributes

static const std::size_t _minSides = 3
static const std::size_t _maxSides = 32

Detailed Description

Definition at line 6 of file Cone.h.


Member Function Documentation

void brushconstruct::Cone::generate ( Brush brush,
const AABB &  bounds,
std::size_t  sides,
const TextureProjection &  projection,
const std::string shader 
) [virtual]
Parameters:
[out] brush The brush to create the planes for
[in] bounds The mins and maxs of the cube
[in] sides 
[in] projection The texture projection that is used (shift, scale and rotate values)
[in] shader The path of the texture relative to the base dir

Implements brushconstruct::BrushConstructor.

static BrushConstructor& brushconstruct::Cone::getInstance (  )  [inline, static]

Definition at line 16 of file Cone.h.

const std::string brushconstruct::Cone::getName (  )  const [virtual]

Field Documentation

const std::size_t brushconstruct::Cone::_maxSides = 32 [static, private]

Definition at line 8 of file Cone.h.

const std::size_t brushconstruct::Cone::_minSides = 3 [static, private]

Definition at line 7 of file Cone.h.


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

Generated by  doxygen 1.6.2