#include <SphereSegment.h>
Public Member Functions | |
void | compute (float radius, unsigned int longitudeSteps, unsigned int lattitudeSteps, float longStart, float longEnd, float latStart, float latEnd) |
SphereSegment (void) | |
SphereSegment (float radius, unsigned int longitudeSteps, unsigned int lattitudeSteps, float longStart, float longEnd, float latStart, float latEnd) | |
SphereSegment (const SphereSegment ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Protected Member Functions | |
~SphereSegment (void) | |
Private Member Functions | |
unsigned int | idx (unsigned int r, unsigned int c, unsigned int row_len) |
osg::Vec2 | sphereMap (osg::Vec3 &vertex, float radius) |
Definition at line 22 of file SphereSegment.h.
SphereSegment::SphereSegment | ( | void | ) |
Definition at line 20 of file SphereSegment.cpp.
SphereSegment::SphereSegment | ( | float | radius, |
unsigned int | longitudeSteps, | ||
unsigned int | lattitudeSteps, | ||
float | longStart, | ||
float | longEnd, | ||
float | latStart, | ||
float | latEnd | ||
) |
Definition at line 24 of file SphereSegment.cpp.
SphereSegment::SphereSegment | ( | const SphereSegment & | copy, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
Definition at line 30 of file SphereSegment.cpp.
SphereSegment::~SphereSegment | ( | void | ) | [protected] |
Definition at line 35 of file SphereSegment.cpp.
void SphereSegment::compute | ( | float | radius, |
unsigned int | longitudeSteps, | ||
unsigned int | lattitudeSteps, | ||
float | longStart, | ||
float | longEnd, | ||
float | latStart, | ||
float | latEnd | ||
) |
Definition at line 42 of file SphereSegment.cpp.
unsigned int SphereSegment::idx | ( | unsigned int | r, |
unsigned int | c, | ||
unsigned int | row_len | ||
) | [inline, private] |
Definition at line 43 of file SphereSegment.h.
osg::Vec2 SphereSegment::sphereMap | ( | osg::Vec3 & | vertex, |
float | radius | ||
) | [private] |
Definition at line 111 of file SphereSegment.cpp.