#include <PsmView_old.h>
Public Types | |
enum | PsmMode { SOURCES = 0, NORMALS, NEEDLES, ALBEDOS, DEPTHS, SURFACE, LIT_SURFACE, SOURCES = 0, NORMALS, NEEDLES, ALBEDOS, DEPTHS, SURFACE, LIT_SURFACE } |
enum | PsmMode { SOURCES = 0, NORMALS, NEEDLES, ALBEDOS, DEPTHS, SURFACE, LIT_SURFACE, SOURCES = 0, NORMALS, NEEDLES, ALBEDOS, DEPTHS, SURFACE, LIT_SURFACE } |
Public Member Functions | |
float | get_first_x (void) |
float | get_first_x (void) |
float | get_first_x_Scaled (void) |
float | get_first_x_Scaled (void) |
float | get_first_y (void) |
float | get_first_y (void) |
float | get_first_y_Scaled (void) |
float | get_first_y_Scaled (void) |
float | get_h (void) |
float | get_h (void) |
float | get_h_Scaled (void) |
float | get_h_Scaled (void) |
float | get_last_x (void) |
float | get_last_x (void) |
float | get_last_x_Scaled (void) |
float | get_last_x_Scaled (void) |
float | get_last_y (void) |
float | get_last_y (void) |
float | get_last_y_Scaled (void) |
float | get_last_y_Scaled (void) |
float | get_zoom () |
float | get_zoom () |
void | Print_Values (void) |
void | Print_Values (void) |
void | Print_Values_Scaled (void) |
void | Print_Values_Scaled (void) |
PsmView (int X, int Y, int W, int H, const char *L=0) | |
PsmView (int X, int Y, int W, int H, const char *L=0) | |
void | saveSnapshot (const char *filename) const |
void | saveSnapshot (const char *filename) const |
void | setCapture (bool Param) |
void | setCapture (bool Param) |
void | setMode (PsmMode newMode) |
void | setMode (PsmMode newMode) |
void | setZoom (bool Param) |
void | setZoom (bool Param) |
void | updateBuffer () |
void | updateBuffer () |
Public Attributes | |
float | Actual_Height |
float | Actual_Width |
Protected Member Functions | |
void | draw () |
void | draw () |
void | drawContents () const |
void | drawContents () const |
void | drawImage () const |
void | drawImage () const |
void | drawNeedles () const |
void | drawNeedles () const |
void | drawSurface () const |
void | drawSurface () const |
int | handle (int) |
int | handle (int) |
void | meshVertex (int i, int j, const ColorImage *depths, const NormalImage *normals) const |
void | meshVertex (int i, int j, const ColorImage *depths, const NormalImage *normals) const |
void | setupLighting () const |
void | setupLighting () const |
void | setupTextures () |
void | setupTextures () |
const ColorImage * | whichImage () const |
const ColorImage * | whichImage () const |
Private Attributes | |
int | bufHeight |
int | bufWidth |
bool | capture |
int | first_adj |
int | first_x |
int | first_y |
int | last_adj |
int | last_x |
int | last_y |
int | lightX |
int | lightY |
PsmMode | mode |
bool | my_zoom |
ColorImage | normalColors |
int | operationMode |
int | padHeight |
int | padWidth |
int | regionOk |
int | regState |
int | rotX |
int | rotY |
int | startX |
int | startY |
float | subHeight |
float | subWidth |
GLuint | textureMap |
int | transX |
int | transY |
float | zoom |
enum PsmMode |
enum PsmMode |
PsmView | ( | int | X, | |
int | Y, | |||
int | W, | |||
int | H, | |||
const char * | L = 0 | |||
) | [inline] |
PsmView | ( | int | X, | |
int | Y, | |||
int | W, | |||
int | H, | |||
const char * | L = 0 | |||
) | [inline] |
void draw | ( | ) | [protected] |
void draw | ( | ) | [protected] |
void drawContents | ( | ) | const [protected] |
void drawContents | ( | ) | const [protected] |
void drawImage | ( | ) | const [protected] |
void drawImage | ( | ) | const [protected] |
void drawNeedles | ( | ) | const [protected] |
void drawNeedles | ( | ) | const [protected] |
void drawSurface | ( | ) | const [protected] |
void drawSurface | ( | ) | const [protected] |
float get_first_x | ( | void | ) |
int get_first_x | ( | void | ) |
float get_first_x_Scaled | ( | void | ) |
int get_first_x_Scaled | ( | void | ) |
float get_first_y | ( | void | ) |
int get_first_y | ( | void | ) |
float get_first_y_Scaled | ( | void | ) |
int get_first_y_Scaled | ( | void | ) |
float get_h | ( | void | ) |
int get_h | ( | void | ) |
float get_h_Scaled | ( | void | ) |
int get_h_Scaled | ( | void | ) |
float get_last_x | ( | void | ) |
int get_last_x | ( | void | ) |
float get_last_x_Scaled | ( | void | ) |
int get_last_x_Scaled | ( | void | ) |
float get_last_y | ( | void | ) |
int get_last_y | ( | void | ) |
float get_last_y_Scaled | ( | void | ) |
int get_last_y_Scaled | ( | void | ) |
float get_zoom | ( | ) | [inline] |
float get_zoom | ( | ) | [inline] |
int handle | ( | int | ) | [protected] |
int handle | ( | int | event | ) | [protected] |
void meshVertex | ( | int | i, | |
int | j, | |||
const ColorImage * | depths, | |||
const NormalImage * | normals | |||
) | const [protected] |
void meshVertex | ( | int | i, | |
int | j, | |||
const ColorImage * | depths, | |||
const NormalImage * | normals | |||
) | const [protected] |
void Print_Values | ( | void | ) |
void Print_Values | ( | void | ) |
void Print_Values_Scaled | ( | void | ) |
void Print_Values_Scaled | ( | void | ) |
void saveSnapshot | ( | const char * | filename | ) | const |
void saveSnapshot | ( | const char * | filename | ) | const |
void setCapture | ( | bool | Param | ) |
void setCapture | ( | bool | Param | ) |
void setMode | ( | PsmMode | newMode | ) | [inline] |
void setMode | ( | PsmMode | newMode | ) | [inline] |
void setupLighting | ( | ) | const [protected] |
void setupLighting | ( | ) | const [protected] |
void setupTextures | ( | ) | [protected] |
void setupTextures | ( | ) | [protected] |
void setZoom | ( | bool | Param | ) |
void setZoom | ( | bool | Param | ) |
void updateBuffer | ( | ) |
void updateBuffer | ( | ) |
const ColorImage* whichImage | ( | ) | const [protected] |
const ColorImage * whichImage | ( | ) | const [protected] |
float Actual_Height |
float Actual_Width |
int bufHeight [private] |
int bufWidth [private] |
bool capture [private] |
int first_adj [private] |
int first_x [private] |
int first_y [private] |
int last_adj [private] |
int last_x [private] |
int last_y [private] |
int lightX [private] |
int lightY [private] |
bool my_zoom [private] |
ColorImage normalColors [mutable, private] |
int operationMode [private] |
int padHeight [private] |
int padWidth [private] |
int regionOk [private] |
int regState [private] |
int rotX [private] |
int rotY [private] |
int startX [private] |
int startY [private] |
float subHeight [private] |
float subWidth [private] |
GLuint textureMap [private] |
int transX [private] |
int transY [private] |
float zoom [private] |