gramods
|
Coordinates mapper that provides an Equi-angular Cubemap (EAC) mapping between 2D and fully spherical 3D. More...
#include <EacCoordinatesMapper.hh>
Classes | |
struct | Impl |
Public Member Functions | |
std::string | getCommonCode () override |
std::string | getTo2DCode () override |
std::string | getTo3DCode () override |
void | setCommonUniforms (GLuint program) override |
void | setTo2DUniforms (GLuint program) override |
void | setTo3DUniforms (GLuint program) override |
void | setLayout (std::string layout) |
Sets the cubemap layout through a string of row-wise cube sides, optionally rotated, and row-break(s). More... | |
![]() | |
virtual std::string | getDefaultKey () override |
Returns the default key, in Configuration, for the Object. More... | |
![]() | |
Object () | |
Initializes internal data. More... | |
virtual | ~Object () |
Cleaning up internal data. More... | |
virtual void | initialize () |
Called to initialize the Object. More... | |
virtual void | accept (Visitor *visitor) |
Calls the visitors apply method with this as argument. More... | |
virtual void | traverse (Visitor *visitor) |
Calls the child Object's accept method, if such exist. More... | |
bool | isInitialized () |
Returns true if the Object is initialized. More... | |
Static Public Attributes | |
static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
![]() | |
const std::string | withVarId (std::string) const |
![]() | |
const std::string | var_id |
Coordinates mapper that provides an Equi-angular Cubemap (EAC) mapping between 2D and fully spherical 3D.
|
overridevirtual |
Reimplemented from gramods::gmGraphics::CoordinatesMapper.
|
overridevirtual |
Reimplemented from gramods::gmGraphics::CoordinatesMapper.
|
overridevirtual |
Reimplemented from gramods::gmGraphics::CoordinatesMapper.
|
overridevirtual |
Reimplemented from gramods::gmGraphics::CoordinatesMapper.
void gramods::gmGraphics::EacCoordinatesMapper::setLayout | ( | std::string | layout | ) |
Sets the cubemap layout through a string of row-wise cube sides, optionally rotated, and row-break(s).
Valid characters are
Some example layouts are
XML-attribute: layout
|
overridevirtual |
Reimplemented from gramods::gmGraphics::CoordinatesMapper.
|
overridevirtual |
Reimplemented from gramods::gmGraphics::CoordinatesMapper.