In file inrimage/TclInrimageView.h:

namespace yav class TclInrimageView : public TclSceneObject

InrimageView interface

Inheritance:


Public Classes

enum DISPLAY_MODE
different DISPLAY_MODE for vectorial image only
WITH_VECTOR
we draw the vectorial image and the vectors
WITHOUT_VECTOR
we draw only the vectorial image
VECTOR_ONLY
we draw only the vectors
enum LONG_MAX_MODE
different LONG_MAX_MODE to compute the length of the vectors
MAX_2
in case of EXPONENTIAL MODE, max length is 2 * max ( voxel_length, voxel_width )
MAX
in case of EXPONENTIAL MODE, max length is max ( voxel_length, voxel_width )
MIN_2
in case of EXPONENTIAL MODE, max length is 2 * min ( voxel_length, voxel_width )
MIN
in case of EXPONENTIAL MODE, max length is min ( voxel_length, voxel_width )
enum NORM_MODE
different NORM_MODE to compute the norm of the vectors
LINEAR
the norm is proportionnal with the real norm

the norm is limited with the max length depending of the LONG_MAX_MODE
EXP
it avoids vectors to cross each other

Public Fields

DISPLAY_MODE displayMode
displayMode for vectorial image only (default value = WITHOUT_VECTOR)
LONG_MAX_MODE longMaxMode
longMaxMode controls the over-crossing of the vectors
NORM_MODE normMode
normMode controls the way to compute the norm of the vector
unsigned int under_sample_x
undersample coefficients to display the field of vectors
unsigned int vector_width
vector_width controls the appearance of the vectors
float vector_scale
vector_scale controls a general scale of the vectors
float alpha
coeff pour regler le rapport de norme dans le cas exponentiel
double col_min
seuils pour la couleur en fonction de la norme2D
bool withArrow
if we want to draw the end of the arrow or not

Public Methods

unsigned int getRef (void) const
raise ambigous getRef() function call
static const char* getTCLObjectName (void)
returns object id by command line arguments
void init (const char *install, const char *uninstall)
constructors common code
virtual ~TclInrimageView ()
destroys client and interface
InrimageView* getClient () const
returns client
static int list (TclModule *m, int argc, char **argv)
raise ambigous list() function call
TclInrimageBackground* getInrimageBackground (SliceCamera *cam) const
returns the tcl inrimage background interface attached to a given slicecam
static int create (TclModule *m, int argc, char **argv)
TCL object creation function
int destroyCmd (int argc, char **argv)
-destroy TCL option
int sceneCmd (int argc, char **argv)
-scene TCL option
int GLScaleCmd (int argc, char **argv)
-GLScale TCL option
int backgroundCmd (int argc, char **argv)
-background TCL option
int inrimageCmd (int argc, char **argv)
-inrimage TCL option
int displayModeCmd (int argc, char **argv)
-displayMode TCL option
int longMaxModeCmd (int argc, char **argv)
-longMaxMode TCL option
int normModeCmd (int argc, char **argv)
-normMode TCL option
int vectorScaleCmd (int argc, char **argv)
-vectorScale TCL option
int colorScaleCmd (int argc, char **argv)
-vectorScale TCL option
int arrowCmd (int argc, char **argv)
-arrow TCL option

Public

constructors
TclInrimageView (TclModule *m, TclInrimage *inr, TclScene2D *scene, bool _createGLScale=true)
builds object client from an inrimage then this interface
TclInrimageView (TclScene2D *scene, const std::type_info& id, InrimageView *inrview, const char *install=0, const char *uninstall=0)
builds interface for an existing client

returns the tcl inrimage interface attached to this object

Documentation

InrimageView interface
enum DISPLAY_MODE
different DISPLAY_MODE for vectorial image only

WITH_VECTOR
we draw the vectorial image and the vectors

WITHOUT_VECTOR
we draw only the vectorial image

VECTOR_ONLY
we draw only the vectors

enum LONG_MAX_MODE
different LONG_MAX_MODE to compute the length of the vectors

MAX_2
in case of EXPONENTIAL MODE, max length is 2 * max ( voxel_length, voxel_width )

MAX
in case of EXPONENTIAL MODE, max length is max ( voxel_length, voxel_width )

MIN_2
in case of EXPONENTIAL MODE, max length is 2 * min ( voxel_length, voxel_width )

MIN
in case of EXPONENTIAL MODE, max length is min ( voxel_length, voxel_width )

enum NORM_MODE
different NORM_MODE to compute the norm of the vectors

LINEAR
the norm is proportionnal with the real norm

the norm is limited with the max length depending of the LONG_MAX_MODE

EXP
it avoids vectors to cross each other

DISPLAY_MODE displayMode
displayMode for vectorial image only (default value = WITHOUT_VECTOR)

LONG_MAX_MODE longMaxMode
longMaxMode controls the over-crossing of the vectors

NORM_MODE normMode
normMode controls the way to compute the norm of the vector

unsigned int under_sample_x
undersample coefficients to display the field of vectors

unsigned int vector_width
vector_width controls the appearance of the vectors

float vector_scale
vector_scale controls a general scale of the vectors

float alpha
coeff pour regler le rapport de norme dans le cas exponentiel

double col_min
seuils pour la couleur en fonction de la norme2D

bool withArrow
if we want to draw the end of the arrow or not

unsigned int getRef(void) const
raise ambigous getRef() function call

static const char* getTCLObjectName(void)
returns object id by command line arguments

constructors

TclInrimageView(TclModule *m, TclInrimage *inr, TclScene2D *scene, bool _createGLScale=true)
builds object client from an inrimage then this interface
Parameters:
m - module this object is built in
inr - displayed inrimage
scene - scene to build client in
_createGLScale - boolean indicating if we should create GLScales associated with each background

TclInrimageView(TclScene2D *scene, const std::type_info& id, InrimageView *inrview, const char *install=0, const char *uninstall=0)
builds interface for an existing client
Parameters:
scene - client scene
id - object dynamic type
inrview - client
install - menu installation TCL command name
uninstall - menu uninstallation TCL command name

void init(const char *install, const char *uninstall)
constructors common code

virtual ~TclInrimageView()
destroys client and interface

InrimageView* getClient() const
returns client

static int list(TclModule *m, int argc, char **argv)
raise ambigous list() function call

returns the tcl inrimage interface attached to this object

TclInrimageBackground* getInrimageBackground(SliceCamera *cam) const
returns the tcl inrimage background interface attached to a given slicecam

static int create(TclModule *m, int argc, char **argv)
TCL object creation function

int destroyCmd(int argc, char **argv)
-destroy TCL option

int sceneCmd(int argc, char **argv)
-scene TCL option

int GLScaleCmd(int argc, char **argv)
-GLScale TCL option

int backgroundCmd(int argc, char **argv)
-background TCL option

int inrimageCmd(int argc, char **argv)
-inrimage TCL option

int displayModeCmd(int argc, char **argv)
-displayMode TCL option

int longMaxModeCmd(int argc, char **argv)
-longMaxMode TCL option

int normModeCmd(int argc, char **argv)
-normMode TCL option

int vectorScaleCmd(int argc, char **argv)
-vectorScale TCL option

int colorScaleCmd(int argc, char **argv)
-vectorScale TCL option

int arrowCmd(int argc, char **argv)
-arrow TCL option


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de