Public Member Functions | Protected Member Functions | Private Member Functions
SphereSegment Class Reference

#include <SphereSegment.h>

Inheritance diagram for SphereSegment:
Inheritance graph
[legend]

List of all members.

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 &copy, const osg::CopyOp &copyop=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)

Detailed Description

Definition at line 22 of file SphereSegment.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58