rasdaman complete source
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
rviewPrefs Class Reference

#include <rviewPrefs.hh>

Public Member Functions

 rviewPrefs (void)
 
 rviewPrefs (const char *file)
 
 rviewPrefs (const rviewPrefs &srcPrefs)
 
 ~rviewPrefs (void)
 
int load (const char *file)
 
int save (const char *file)
 
int edit (void)
 
void editorClosed (void)
 
void closeEditor (rviewPrefs *newPrefs)
 
void updatePrefs (rviewPrefs *newPrefs)
 
void markModified (void)
 
r_Data_Format getTransferFormat (void) const
 
r_Data_Format getStorageFormat (void) const
 

Static Public Member Functions

static void copyPrefs (const rviewPrefs &src, rviewPrefs &dest)
 

Public Attributes

DynamicString serverName
 
int serverPort
 
DynamicString databaseName
 
DynamicString userName
 
DynamicString lastColl
 
DynamicString lastScColl
 
DynamicString lastOrthoColl
 
DynamicString filePath
 
DynamicString queryPath
 
DynamicString queryFont
 
DynamicString vffParams
 
int lastDisplay
 
int maxDWidth
 
int maxDHeight
 
bool imgDither
 
bool ditherBest
 
rviewImageMode imgMode
 
rviewChartMode chartMode
 
int movieMode
 
int rgbSpace
 
int tableMode
 
bool imgBBox
 
unsigned long imgZpro
 
unsigned long imgClipz
 
unsigned long imgWgtQuant
 
double imgPixThreshLow
 
double imgPixThreshHigh
 
double imgWgtThresh
 
double imgScale
 
bool imgRgbBrightness
 
bool imgVoxForType
 
bool imgLight
 
double imgLightAmbient
 
double imgLightGain
 
double imgLightAngle
 
double imgLightScintAngle
 
int imgKernSize
 
int imgKernType
 
bool imgUseVCol
 
double imgVoxColour
 
DynamicString imgLightDir
 
int imgLightDist
 
int imgHeightGrid
 
double imgHeightScale
 
bool imgOrthoBBox
 
bool imgOrthoDragRel
 
int imgOrthoThick
 
bool chartCosys
 
int chartStep
 
int chartMarkx
 
double chartMarky
 
bool tableCosys
 
int tableStepx
 
int tableStepy
 
int thumbProjdim
 
int thumbProjstep
 
int thumbWidth
 
int thumbCols
 
int soundFreq
 
int soundLatency
 
int soundLoop
 
int transferFmt
 
int storageFmt
 
DynamicString transferParm
 
DynamicString storageParm
 
colourspace_params csp
 

Protected Member Functions

void setupVariables (void)
 
char * getValue (char *b)
 
char * readLine (FILE *fp)
 

Static Protected Member Functions

static char * toExternal (const DynamicString &str)
 
static void fromExternal (const char *ext, DynamicString &str)
 

Protected Attributes

rviewPrefsWindowpwin
 
bool prefsModified
 
char * inbuff
 
unsigned long buffSize
 

Static Protected Attributes

static const unsigned long buffExtendGranularity
 
static const keyword_to_ident_c prefsVarDesc []
 

Constructor & Destructor Documentation

rviewPrefs::rviewPrefs ( void  )
rviewPrefs::rviewPrefs ( const char *  file)
rviewPrefs::rviewPrefs ( const rviewPrefs srcPrefs)
rviewPrefs::~rviewPrefs ( void  )

Member Function Documentation

void rviewPrefs::closeEditor ( rviewPrefs newPrefs)
static void rviewPrefs::copyPrefs ( const rviewPrefs src,
rviewPrefs dest 
)
static
int rviewPrefs::edit ( void  )
void rviewPrefs::editorClosed ( void  )
static void rviewPrefs::fromExternal ( const char *  ext,
DynamicString str 
)
staticprotected
r_Data_Format rviewPrefs::getStorageFormat ( void  ) const
r_Data_Format rviewPrefs::getTransferFormat ( void  ) const
char* rviewPrefs::getValue ( char *  b)
protected
int rviewPrefs::load ( const char *  file)
void rviewPrefs::markModified ( void  )
char* rviewPrefs::readLine ( FILE *  fp)
protected
int rviewPrefs::save ( const char *  file)
void rviewPrefs::setupVariables ( void  )
protected
static char* rviewPrefs::toExternal ( const DynamicString str)
staticprotected
void rviewPrefs::updatePrefs ( rviewPrefs newPrefs)

Member Data Documentation

const unsigned long rviewPrefs::buffExtendGranularity
staticprotected
unsigned long rviewPrefs::buffSize
protected
bool rviewPrefs::chartCosys
int rviewPrefs::chartMarkx
double rviewPrefs::chartMarky
rviewChartMode rviewPrefs::chartMode
int rviewPrefs::chartStep
colourspace_params rviewPrefs::csp
DynamicString rviewPrefs::databaseName
bool rviewPrefs::ditherBest
DynamicString rviewPrefs::filePath
bool rviewPrefs::imgBBox
unsigned long rviewPrefs::imgClipz
bool rviewPrefs::imgDither
int rviewPrefs::imgHeightGrid
double rviewPrefs::imgHeightScale
int rviewPrefs::imgKernSize
int rviewPrefs::imgKernType
bool rviewPrefs::imgLight
double rviewPrefs::imgLightAmbient
double rviewPrefs::imgLightAngle
DynamicString rviewPrefs::imgLightDir
int rviewPrefs::imgLightDist
double rviewPrefs::imgLightGain
double rviewPrefs::imgLightScintAngle
rviewImageMode rviewPrefs::imgMode
bool rviewPrefs::imgOrthoBBox
bool rviewPrefs::imgOrthoDragRel
int rviewPrefs::imgOrthoThick
double rviewPrefs::imgPixThreshHigh
double rviewPrefs::imgPixThreshLow
bool rviewPrefs::imgRgbBrightness
double rviewPrefs::imgScale
bool rviewPrefs::imgUseVCol
double rviewPrefs::imgVoxColour
bool rviewPrefs::imgVoxForType
unsigned long rviewPrefs::imgWgtQuant
double rviewPrefs::imgWgtThresh
unsigned long rviewPrefs::imgZpro
char* rviewPrefs::inbuff
protected
DynamicString rviewPrefs::lastColl
int rviewPrefs::lastDisplay
DynamicString rviewPrefs::lastOrthoColl
DynamicString rviewPrefs::lastScColl
int rviewPrefs::maxDHeight
int rviewPrefs::maxDWidth
int rviewPrefs::movieMode
bool rviewPrefs::prefsModified
protected
const keyword_to_ident_c rviewPrefs::prefsVarDesc[]
staticprotected
rviewPrefsWindow* rviewPrefs::pwin
protected
DynamicString rviewPrefs::queryFont
DynamicString rviewPrefs::queryPath
int rviewPrefs::rgbSpace
DynamicString rviewPrefs::serverName
int rviewPrefs::serverPort
int rviewPrefs::soundFreq
int rviewPrefs::soundLatency
int rviewPrefs::soundLoop
int rviewPrefs::storageFmt
DynamicString rviewPrefs::storageParm
bool rviewPrefs::tableCosys
int rviewPrefs::tableMode
int rviewPrefs::tableStepx
int rviewPrefs::tableStepy
int rviewPrefs::thumbCols
int rviewPrefs::thumbProjdim
int rviewPrefs::thumbProjstep
int rviewPrefs::thumbWidth
int rviewPrefs::transferFmt
DynamicString rviewPrefs::transferParm
DynamicString rviewPrefs::userName
DynamicString rviewPrefs::vffParams

The documentation for this class was generated from the following file: