#include <CrEditConfig.h>
Reading and writing the configuration | |
void | saveConfig (const char *) |
Saves the configuration to a named file -- unimplemented. | |
static CrEditConfig * | openConfig (const char *) |
Opens a named file and reads its configuration. | |
Public Types | |
typedef vector< char * > | FileList |
Typedef for a vector of filenames. | |
Public Member Functions | |
CrEditConfig () | |
Constructor. | |
virtual | ~CrEditConfig () |
Destructor. | |
const char * | getUserID () |
const char * | getPatientID () |
const char * | getSkullFile () |
const float * | getPhantomOffset () |
const float * | getPencilColor () |
int | getNumRefImages () |
int | getNumRefModels () |
int | getNumSliceImages () |
const char * | getRefImage (const int &) |
const char * | getRefModel (const int &) |
void | getSliceDims (float *, float *, float *) |
const char * | getSliceImage (const int &) |
const char * | getSliceName () |
const char * | getServer () |
short | getPort () |
short | getAvatarTCPPort () |
short | getAvatarUDPPort () |
short | getDatabaseTCPPort () |
short | getDatabaseUDPPort () |
const char * | getDatabaseName () |
bool | isNetworkingEnabled () |
Protected Attributes | |
char | userID [256] |
User identification string. | |
char | patientID [256] |
Patient identification string. | |
char | skullFile [256] |
Skull model file. | |
float | phantomOffset [3] |
Offset for the PHANToM location. | |
FileList | refImage |
Reference images. | |
FileList | refModel |
Reference models. | |
FileList | sliceImage |
Medical slice images. | |
SliceVolInfo | sliceInfo |
Slice volume information. | |
float | pencilColor [3] |
Pencil drawing color. | |
bool | haveSlices |
Flag indicates whether slices are present. | |
Collaboration data | |
char | netServer [256] |
Network server IP. | |
short | netPort |
Network server starting port number. | |
char | databaseName [256] |
Name of the collaboration client database directory. | |
bool | networkingEnabled |
Networking status. | |
Friends | |
ostream & | operator<< (ostream &, const CrEditConfig &) |
Output stream operator. | |
istream & | operator>> (istream &, CrEditConfig &) |
Input stream operator. | |
Classes | |
struct | SliceVolInfo |
Medical slice volume information. More... |
|
Typedef for a vector of filenames.
|
|
Constructor.
|
|
Destructor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Opens a named file and reads its configuration.
|
|
Saves the configuration to a named file -- unimplemented.
|
|
Output stream operator.
|
|
Input stream operator.
|
|
Name of the collaboration client database directory.
|
|
Flag indicates whether slices are present.
|
|
Network server starting port number.
|
|
Network server IP.
|
|
Networking status.
|
|
Patient identification string.
|
|
Pencil drawing color.
|
|
Offset for the PHANToM location.
|
|
Reference images.
|
|
Reference models.
|
|
Skull model file.
|
|
Medical slice images.
|
|
Slice volume information.
|
|
User identification string.
|