gramods
|
Coordinates mapper that provides an angular fisheye mapping between 2D and fully spherical 3D. More...
#include <AngularFisheyeCoordinatesMapper.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 | setCoverageAngle (gmCore::angle a) |
Set the vertical coverage that the 2D coordinates (y=[-1, 1]) should have in the 3D sphere, as angle expressed as a value in radians between 0 and 2π. More... | |
![]() | |
virtual void | setTo2DUniforms (GLuint program) |
Called by the code that is using this CoordinatesMapper object, to let it set the uniforms used by the to-2D code. More... | |
virtual void | setTo3DUniforms (GLuint program) |
Called by the code that is using this CoordinatesMapper object, to let it set the uniforms used by the to-3D code. 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 angular fisheye 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::AngularFisheyeCoordinatesMapper::setCoverageAngle | ( | gmCore::angle | a | ) |
Set the vertical coverage that the 2D coordinates (y=[-1, 1]) should have in the 3D sphere, as angle expressed as a value in radians between 0 and 2π.
The typical fulldome format uses a coverage angle of π, which is also the default.
XML-attribute: coverageAngle