Public Member Functions | Public Attributes

sky::SkyDome::Point Class Reference

Defines one vertex on dome which will be shared by multiple Patches. Using an index, rather than a ptr, avoids the invalid iterator pitfall. More...

List of all members.

Public Member Functions

 Point (void)
 ~Point ()
void SetPosition (const WorldVertex &pos)
WorldVertex GetPosition (void) const
void SetColor (const RGBA color, SkyDome &skyDome)
RGBA GetColor (void) const

Public Attributes

WorldVertex mPos
 position of point
RGBA mColor
SmallArray< 4, std::pair< int,
int > > 
mPatchIdxs
 indexs of Patches that share this point (SkyDome::mPatches[])

Detailed Description

Defines one vertex on dome which will be shared by multiple Patches. Using an index, rather than a ptr, avoids the invalid iterator pitfall.


Constructor & Destructor Documentation

sky::SkyDome::Point::Point ( void   )  [inline]
sky::SkyDome::Point::~Point (  )  [inline]

Member Function Documentation

RGBA sky::SkyDome::Point::GetColor ( void   )  const [inline]
WorldVertex sky::SkyDome::Point::GetPosition ( void   )  const [inline]
void sky::SkyDome::Point::SetColor ( const RGBA  color,
SkyDome skyDome 
)
void sky::SkyDome::Point::SetPosition ( const WorldVertex pos  )  [inline]

Member Data Documentation

indexs of Patches that share this point (SkyDome::mPatches[])

position of point


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12