Rigging Class Reference

#include <rigging.h>

List of all members.

Public Member Functions

 Rigging ()
 ~Rigging ()
void draw ()
void generate (int ns, bool mp, double rad=1.)
bool mollweide (void) const
bool projectSelection (const qglviewer::Vec &o, const qglviewer::Vec &d, qglviewer::Vec &v) const
bool projectSelection (const qglviewer::Vec &o, const qglviewer::Vec &d, double &phi, double &lambda) const

Protected Types

typedef std::vector< Face
>::iterator 
FI

Protected Member Functions

void drawFace (const int face)
void setThetas ()

Protected Attributes

bool viewmoll
int nside
std::vector< Facefaces
std::vector< double > costhetas_np
 theta values for North Pole Faces
std::vector< double > costhetas_eq
 theta values for Equatorial Pole Faces
std::vector< double > costhetas_sp
 theta values for South Pole Faces


Detailed Description

Definition at line 18 of file rigging.h.


Member Typedef Documentation

typedef std::vector<Face>::iterator Rigging::FI [protected]

Definition at line 24 of file rigging.h.


Constructor & Destructor Documentation

Rigging::Rigging (  ) 

Definition at line 28 of file rigging.cpp.

References faces, and viewmoll.

Rigging::~Rigging (  ) 

Definition at line 44 of file rigging.cpp.


Member Function Documentation

void Rigging::draw (  ) 

Definition at line 87 of file rigging.cpp.

References faces.

Referenced by SkyViewer::draw().

void Rigging::drawFace ( const int  face  )  [protected]

void Rigging::generate ( int  ns,
bool  mp,
double  rad = 1. 
)

Definition at line 63 of file rigging.cpp.

References costhetas_eq, costhetas_np, costhetas_sp, faces, nside, setThetas(), and viewmoll.

Referenced by mainWindow::mainWindow(), and mainWindow::newRigging().

bool Rigging::mollweide ( void   )  const [inline]

Definition at line 58 of file rigging.h.

References viewmoll.

bool Rigging::projectSelection ( const qglviewer::Vec &  o,
const qglviewer::Vec &  d,
double &  phi,
double &  lambda 
) const

bool Rigging::projectSelection ( const qglviewer::Vec &  o,
const qglviewer::Vec &  d,
qglviewer::Vec &  v 
) const

Referenced by SkyViewer::postSelection().

void Rigging::setThetas (  )  [protected]

Definition at line 104 of file rigging.cpp.

References costhetas_eq, costhetas_np, costhetas_sp, and nside.

Referenced by generate().


Member Data Documentation

std::vector<double> Rigging::costhetas_eq [protected]

theta values for Equatorial Pole Faces

Definition at line 26 of file rigging.h.

Referenced by generate(), and setThetas().

std::vector<double> Rigging::costhetas_np [protected]

theta values for North Pole Faces

Definition at line 25 of file rigging.h.

Referenced by generate(), and setThetas().

std::vector<double> Rigging::costhetas_sp [protected]

theta values for South Pole Faces

Definition at line 27 of file rigging.h.

Referenced by generate(), and setThetas().

std::vector<Face> Rigging::faces [protected]

Definition at line 23 of file rigging.h.

Referenced by draw(), generate(), and Rigging().

int Rigging::nside [protected]

Definition at line 22 of file rigging.h.

Referenced by generate(), and setThetas().

bool Rigging::viewmoll [protected]

Definition at line 21 of file rigging.h.

Referenced by generate(), mollweide(), and Rigging().


The documentation for this class was generated from the following files:
Generated on Fri Feb 6 15:33:01 2009 for Skyviewer by  doxygen 1.4.7