A base class used for generating textures.
More...
#include <HeightMapGenerator.h>
|
| | HeightMapGenerator () |
| |
| | HeightMapGenerator (const size_t &width, const size_t &height) |
| |
| size_t | getHeight () |
| | Gets the height in pixels of the produced texture. More...
|
| |
| size_t | getWidth () |
| | Gets the width in pixels of the produced texture. More...
|
| |
| void | setHeigth (const size_t &height) |
| | Sets the height in pixels of the produced texture. More...
|
| |
| void | setWidth (const size_t &width) |
| | Sets the height in pixels of the produced texture. More...
|
| |
| | Referenced () |
| | Default constructor. More...
|
| |
| | Referenced (const Referenced &) |
| |
| template<typename T > |
| T * | as () |
| | Subclass casting. More...
|
| |
| template<typename T > |
| const T * | as () const |
| |
| template<typename T > |
| T * | asSafe () |
| | Safe subclass casting, return nullptr if template type does not match. More...
|
| |
| template<typename T > |
| const T * | asSafe () const |
| |
| int | getReferenceCount () const |
| |
| template<typename T > |
| bool | is () const |
| | Subclass test. More...
|
| |
| Referenced & | operator= (const Referenced &) |
| | Assignment operator. Will increment the number of references to the referenced object. More...
|
| |
| void | reference (void *ptr=nullptr) const |
| | Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
|
| |
| void | unreference (void *ptr=nullptr) const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
|
| |
| void | unreference_nodelete () const |
| | Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
|
| |
A base class used for generating textures.
Definition at line 45 of file HeightMapGenerator.h.
◆ HeightMapGenerator() [1/2]
| agxModel::HeightMapGenerator::HeightMapGenerator |
( |
| ) |
|
◆ HeightMapGenerator() [2/2]
| agxModel::HeightMapGenerator::HeightMapGenerator |
( |
const size_t & |
width, |
|
|
const size_t & |
height |
|
) |
| |
◆ ~HeightMapGenerator()
| virtual agxModel::HeightMapGenerator::~HeightMapGenerator |
( |
| ) |
|
|
protectedvirtual |
◆ getHeight()
| size_t agxModel::HeightMapGenerator::getHeight |
( |
| ) |
|
◆ getWidth()
| size_t agxModel::HeightMapGenerator::getWidth |
( |
| ) |
|
◆ setHeigth()
| void agxModel::HeightMapGenerator::setHeigth |
( |
const size_t & |
height | ) |
|
Sets the height in pixels of the produced texture.
◆ setWidth()
| void agxModel::HeightMapGenerator::setWidth |
( |
const size_t & |
width | ) |
|
Sets the height in pixels of the produced texture.
◆ m_height
| size_t agxModel::HeightMapGenerator::m_height |
|
protected |
◆ m_width
| size_t agxModel::HeightMapGenerator::m_width |
|
protected |
The documentation for this class was generated from the following file: