SliceOmatic, uses a number of classes and structures.
|
|
|
This class is the parent class for all the classes used in the database of images. |
|
|
|
This class is used by sliceOmatic to store the information on all the opened image files. |
|
|
|
This class is used to define the display windows used in the program. |
|
|
|
This class is used for all the 3D geometries in the program. Either read from file or generated by the program. |
|
|
|
This class is used to store "points" and other markers. |
|
|
This class is used to store user data inside the SliceO_Class class. |
All of these classes are derived from the same base class (SliceO) that contain the following variables and methods:
|
Private: |
m_class_magic (unsigned short)
|
The "Magic" value is used for error checking. Each type of class has its own "Magic" value. If the magic value returned from the Class_Magic_Get method is incorrect, then the class is corrupted or the pointer you used is invalid.
The Magic values are:
|
||||||||||||
|
Public: |
Return the value of the "m_class_magic" variable. This method is used in the macros: VALIDITY_TEST_... used to test the validity of each class.
|
|||||||||||||
|
Set the value of the "m_class_magic" variable. This method is only used by sliceOmatic in the constructors of the classes
|
|
Private: |
m_class_a (unsigned short)
|
The exact meaning of the content of "A" depend on the class:
|
||||||||||||
|
Public: |
Return the value of the "m_class_a" variable.
|
|||||||||||||
|
Set the value of the "m_class_a" variable.
|
||||||||||||||
|
Private: |
m_class_b (unsigned short)
|
The exact meaning of content of "B" depend on the class:
|
||||||||||||
|
Public: |
Return the value of the "m_class_b" variable.
|
|||||||||||||
|
Set the value of the "m_class_b" variable.
|
|
Private: |
m_class_user (unsigned short)
|
Assign a "User" value to the class instance. At this time, SliceOmatic does not use the "user" value. It is available for you if you need it.
|
|
Public:
|
Return the value of the "m_class_user" variable.
|
|
|
Set the value of the "m_class_user" variable.
|
|
Private: |
m_name (char *)
|
Name of the class instance |
|
Public: |
|
Return the name of the class instance |
|
|
Assign a name to the class instance |
SliceOmatic also has a series classes to help make the C++ code simpler.
And finally, sliceOmatic has a class and a structure to manipulate colors.
|
|
Color
|
This is a structure to place RGBA colors into a 32 bits unsigned integer |
|
|
|
This is a class used to manipulate RGB colors |