PsmView Class Reference

#include <PsmView_old.h>

Collaboration diagram for PsmView:
[legend]

List of all members.

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 ColorImagewhichImage () const
const ColorImagewhichImage () 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


Member Enumeration Documentation

enum PsmMode

Enumerator:
SOURCES 
NORMALS 
NEEDLES 
ALBEDOS 
DEPTHS 
SURFACE 
LIT_SURFACE 
SOURCES 
NORMALS 
NEEDLES 
ALBEDOS 
DEPTHS 
SURFACE 
LIT_SURFACE 

enum PsmMode

Enumerator:
SOURCES 
NORMALS 
NEEDLES 
ALBEDOS 
DEPTHS 
SURFACE 
LIT_SURFACE 
SOURCES 
NORMALS 
NEEDLES 
ALBEDOS 
DEPTHS 
SURFACE 
LIT_SURFACE 


Constructor & Destructor Documentation

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]


Member Function Documentation

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]


Member Data Documentation

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]

PsmMode mode [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]


The documentation for this class was generated from the following files:
Generated on Mon Jan 14 15:36:53 2008 for Shape from Example by  doxygen 1.5.4