#include <rigging.h>
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< Face > | faces |
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 |
Definition at line 18 of file rigging.h.
typedef std::vector<Face>::iterator Rigging::FI [protected] |
Rigging::Rigging | ( | ) |
Rigging::~Rigging | ( | ) |
Definition at line 44 of file rigging.cpp.
void Rigging::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] |
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().
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] |
int Rigging::nside [protected] |
bool Rigging::viewmoll [protected] |