rasdaman complete source
|
#include <rviewOSection.hh>
Public Types | |
typedef struct section_map_s | section_map_t |
typedef struct section_part_s | section_part_t |
![]() | |
enum | display_advmode_e { display_advmode_relative, display_advmode_absolute, display_advmode_reset } |
Public Member Functions | |
rviewOSectionImage (mdd_frame *mf, unsigned int flags=0) | |
virtual | ~rviewOSectionImage (void) |
virtual void | label (void) |
virtual int | process (wxObject &obj, wxEvent &evt) |
virtual void | OnSize (int w, int h) |
virtual int | openViewer (void) |
virtual const char * | getFrameName (void) const |
virtual rviewFrameType | getFrameType (void) const |
virtual int | getViewerType (void) const |
virtual void | childMouseEvent (wxWindow *child, wxMouseEvent &mev) |
virtual bool | sectionValid (unsigned int num)=0 |
virtual const r_Minterval & | getSectionDomain (unsigned int num)=0 |
virtual const r_Minterval & | getSectionParent (unsigned int num)=0 |
virtual char * | getSectionArray (unsigned int num)=0 |
virtual long | getSectionProjection (unsigned int num)=0 |
virtual r_Ref< r_GMarray > & | getCsmapArray (void)=0 |
![]() | |
rviewRenderImage (mdd_frame *mf, int es, unsigned int flags=0) | |
virtual | ~rviewRenderImage (void) |
virtual int | newProjection (void) |
virtual void | prepareToDie (void) |
virtual int | requestQuit (int level) |
virtual int | userEvent (const user_event &ue) |
virtual void | OnMenuCommand (int id) |
virtual bool | OnClose (void) |
void | closeEditor (bool newSetup) |
void | updateSettings (int setFlags) |
void | closeRendererControls (void) |
void | setAutoRotation (float rx, float ry, float rz) |
void | setCurrentView (const vertex_fp &angles, long off, double scale) |
![]() | |
rviewImage (mdd_frame *mf, int es, unsigned int flags=0) | |
virtual | ~rviewImage (void) |
virtual void | processMouseEvent (wxMouseEvent &mevt) |
![]() | |
rviewDisplay (mdd_frame *mf, int es, unsigned int flags=0) | |
virtual | ~rviewDisplay (void) |
void | closeViewer (void) |
virtual const r_Minterval & | getVirtualDomain (void) const |
void | noLongerUpdate (void) |
int | getIdentifier (void) const |
int | getDisplayCounter (void) const |
void | setQueryWindow (int qwindowID) |
![]() | |
rviewFrame (wxFrame *parent, char *title, int x, int y, int w, int h) | |
virtual | ~rviewFrame (void) |
int | checkobj (wxObject &obj) |
void | setParent (rviewFrame *parent) |
void | registerChild (rviewFrame *child) |
void | deregisterChild (rviewFrame *child) |
Static Public Attributes | |
static const int | osection_ctrly |
static const int | osection_rcwidth |
static const int | osection_sheight |
static const int | osection_chkwidth |
static const int | osection_chkheight |
static const int | osection_twidth |
static const int | osection_theight |
static const int | osection_bwidth |
static const int | osection_bheight |
![]() | |
static const int | image_swidth |
static const int | image_sheight |
static const int | image_pbwidth |
static const int | image_pbheight |
static const int | image_minwidth |
static const int | image_minheight |
static const int | image_chkwidth |
static const int | image_chkheight |
static const int | image_bbwidth |
static const int | image_bbheight |
static const int | image_twidth |
static const int | image_theight |
static const int | image_bwidth |
static const int | image_bheight |
static const int | image_dragtoff |
static const int | image_dragtspace |
static const int | image_draghotzone |
static const int | image_ctrly |
static const int | image_totaly |
![]() | |
static const int | display_width |
static const int | display_height |
static const int | display_cnvborder |
static const int | display_border |
static const int | display_scrstep |
static const int | display_pgstep |
static const int | display_cheight |
static const int | display_pjheight |
static const int | display_pjwidth |
static const int | display_pbwidth |
static const int | display_pbheight |
static const int | display_minwidth |
static const int | display_flag_standalone |
static const int | display_flag_update |
Protected Member Functions | |
virtual char * | initMode (void) |
virtual char * | setupEnvironment (int w, int h) |
virtual bool | doUpdate (int updateFlags) |
virtual void | fillBuffer (void) |
virtual int | saveView (FILE *fp) |
virtual int | readView (const char *key, const char *value) |
virtual void | loadViewFinished (void) |
int | makeMinterval (unsigned int num, r_Minterval &dom) |
int | performPartition (void) |
void | updateSlice (unsigned int num, long value, bool useDummy=TRUE) |
void | refreshSlices (bool force=FALSE) |
virtual int | ensureSections (void)=0 |
virtual int | createDummySection (unsigned int num, const r_Minterval *dom=NULL)=0 |
virtual void | flushSlices (void)=0 |
void | setOId (const r_OId &oid) |
![]() | |
virtual void | rotateObject (wxMouseEvent &mevt) |
virtual void | redrawSettingsChanged (void) |
virtual void | fillBackgroundCore (rviewBaseType bt, double minVal) |
virtual int | configMenuInitHook (wxMenu *menu) |
virtual int | viewMenuInitHook (wxMenu *menu) |
virtual bool | canRotateObject (void) const |
virtual void | updateCurrentView (void) |
int | setupEnvBase (int w, int h, r_Ref< r_GMarray > &mdd, colourspaceMapper **csm, r_Minterval *csdom) |
char * | setupGraphEnv (void) |
void | fillBufferBackground (bool doCspace, bool &cspaceOK, r_Ref< r_GMarray > &obj, colourspaceMapper **csm, r_Minterval *csdom, rviewBaseType bt, bool fullRange, double *useMinVal=NULL) |
void | translateBufferToCspace (rviewBaseType bt, double *useMinVal=NULL, double *useMaxVal=NULL) |
void | rotateCube (int axis, float angle) |
void | getLightPos (vertex_fp *lpos) |
void | matrixToAngles (vertex_fp &angles) const |
void | anglesToMatrix (const vertex_fp &angles) |
![]() | |
void | updatePixmap (char *oldData, char *newData) |
void | configureCspace (bool state) |
void | setCspaceProjMode (bool pmode) |
void | resizeImage (void) |
void | openViewerEpilogue (rviewFrameType ft) |
int | freeDimsFromProjection (int &dim1, int &dim2, r_Point *map) |
void | ensureViewCspace (void) |
void | deleteViewCspace (void) |
virtual void | projectObjectHook (void) |
virtual void | configureMode (void) |
virtual bool | cspaceRangeHook (bool suggest) |
virtual char * | movieNewFrame (void) |
virtual int | fileMenuInitHook (wxMenu *menu) |
virtual bool | modeNeedsCspace (rviewBaseType bt) const |
virtual bool | moviePossible (void) const |
virtual bool | showScaleSlider (void) const |
![]() | |
virtual int | menuBarInitHook (void) |
void | setModeDimension (int dim) |
void | setMinimumViewerSize (int w, int h) |
const char * | skipIndexMapping (const char *s) |
int | advanceProjection (int direction, int advmode=display_advmode_relative) |
void | newDBState (bool dbstate) |
void | setDisplayTitle (const char *title=NULL) |
int | doSaveView (void) |
int | doLoadView (void) |
int | parseViewFile (FILE *fp) |
Static Protected Attributes | |
static const unsigned int | numSections |
static const char * | sliderLabels [] |
static const char * | view_Thickness |
static const char * | view_MidPoint |
static const char * | view_UseBBox |
![]() | |
static const char * | view_ZProject |
static const char * | view_ZClip |
static const char * | view_PixThreshLow |
static const char * | view_PixThreshHigh |
static const char * | view_WeightThresh |
static const char * | view_WeightQuant |
static const char * | view_UseRGBBright |
static const char * | view_UseLighting |
static const char * | view_LightAmbient |
static const char * | view_LightGain |
static const char * | view_LightAngle |
static const char * | view_LightScint |
static const char * | view_LightDir |
static const char * | view_LightDist |
static const char * | view_KernelSize |
static const char * | view_KernelType |
static const char * | view_UseVoxColour |
static const char * | view_VoxColour |
static const char * | view_GridSize |
static const char * | view_ScaleHeight |
static const char * | view_Rotation |
static const char * | view_ZOffset |
![]() | |
static const char * | view_ScrollPos |
static const char * | view_UseCspace |
static const char * | view_CspaceFull |
static const char * | view_CspaceProj |
static const char * | view_CspaceMeans |
static const char * | view_CspaceSigmas |
static const char * | view_CspaceType |
static const char * | view_CspaceRange |
static const char * | view_ScaleValue |
![]() | |
static const int | fixedNumberOfMenus |
Additional Inherited Members | |
![]() | |
static int | getPixmapFlags (void) |
![]() | |
static void | rotateCube (int axis, float angle, vertex_fp *matrix) |
![]() | |
static void | writeViewKey (FILE *fp, const char *key) |
static void | writeViewParam (FILE *fp, const char *key, const char *value) |
static void | writeViewParam (FILE *fp, const char *key, long value) |
static void | writeViewParam (FILE *fp, const char *key, double value) |
static void | writeViewParam (FILE *fp, const char *key, unsigned int num, const long *values) |
static void | writeViewParam (FILE *fp, const char *key, unsigned int num, const double *values) |
static int | readVector (const char *value, unsigned int num, long *values) |
static int | readVector (const char *value, unsigned int num, double *values) |
typedef struct section_map_s rviewOSectionImage::section_map_t |
typedef struct section_part_s rviewOSectionImage::section_part_t |
rviewOSectionImage::rviewOSectionImage | ( | mdd_frame * | mf, |
unsigned int | flags = 0 |
||
) |
|
virtual |
|
virtual |
Reimplemented from rviewFrame.
Reimplemented in rviewOSectionPartImage.
|
protectedpure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
protectedvirtual |
Implements rviewRenderImage.
|
protectedpure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
protectedvirtual |
Implements rviewRenderImage.
|
protectedpure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
virtual |
Reimplemented from rviewRenderImage.
|
virtual |
Reimplemented from rviewRenderImage.
|
pure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
pure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
pure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
pure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
virtual |
Implements rviewDisplay.
|
protectedvirtual |
Reimplemented from rviewRenderImage.
|
virtual |
Reimplemented from rviewRenderImage.
Reimplemented in rviewOSectionPartImage.
|
protectedvirtual |
Reimplemented from rviewRenderImage.
|
protected |
|
virtual |
Reimplemented from rviewRenderImage.
Reimplemented in rviewOSectionPartImage.
|
virtual |
Reimplemented from rviewImage.
|
protected |
|
virtual |
Reimplemented from rviewRenderImage.
Reimplemented in rviewOSectionPartImage.
|
protectedvirtual |
Reimplemented from rviewRenderImage.
|
protectedvirtual |
Reimplemented from rviewRenderImage.
|
pure virtual |
Implemented in rviewOSectionFullImage, and rviewOSectionPartImage.
|
protected |
|
protectedvirtual |
Implements rviewRenderImage.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |