#include <DataObject.h>
This class is part of the DataStructure namespace which is actually a subnamespace of the main namespace Volume. Furthermore the standard class Object is inherted to the DataObject class for better controlling of a particular quantity of DataObject instances (particullary the storing of those instances in standard hashtable is considerably easily).
An instance of this class should be only used for saving a specific volume data object which is part of the volume data set. Thus, all needed attributes of such a data object can be accumulated which in particular are:
Histogram - the basic histogram class.
IRenderer - the abstract render model interface for controlling a specific render model.
Public Member Functions | |
DataObject (void) | |
This is the standard constructor. | |
DataObject (String *n_ObjectDescription, unsigned short n_Importance, unsigned short n_DensityScope, IRenderer *n_Renderer) | |
Constructor initialization by all needed specified parameters. | |
~DataObject (void) | |
This is the standard deconstructor. | |
int | getHistogramValues (void) __gc[] |
Returns the entire saved histogram as an one dimensional int array. | |
int | getHistogramValue (unsigned short n_Density) |
Returns a spcific density count of the object's histogram. | |
__property unsigned short | get_Importance (void) |
Returns the current importance value. | |
__property String * | get_ObjectDescription (void) |
Returns the current object description. | |
__property Histogram * | get_DensityHistogram (void) |
Returns the current density histogram. | |
__property IRenderer * | get_RenderModel (void) |
Returns the current render model. | |
__property void | set_Importance (unsigned short n_Importance) |
Sets a new importance value for the current object. | |
__property void | set_DensityHistogram (Histogram *n_DensityHistogram) |
Sets a new density histogram for the current object. | |
__property void | set_RenderModel (IRenderer *n_RenderModel) |
Sets a new render model for the current object. | |
Private Attributes | |
unsigned short | m_Importance |
Represents the current saved importance value for the volume object. | |
String * | m_ObjectDescription |
Represents the current saved title for the volume object. | |
DataStructures::Histogram * | m_DensityHistogram |
Represents the current saved instance of Histogram for the volume object. | |
IRenderer * | m_RenderModel |
Represents the current saved instance of IRenderer for the volume object. |
|
This is the standard constructor. All member variables of this new instance will be set to zero/null. |
|
Constructor initialization by all needed specified parameters. All member variables will be set to the corresponding given parameters.
|
|
This is the standard deconstructor. Espacially the histogram and render model will be deleted. |
|
Returns the current density histogram.
|
|
Returns the current importance value.
|
|
Returns the current object description.
|
|
Returns the current render model.
|
|
Returns a spcific density count of the object's histogram.
|
|
Returns the entire saved histogram as an one dimensional int array. Use for fast access to Histogram instance values of the current volume object.
|
|
Sets a new density histogram for the current object.
|
|
Sets a new importance value for the current object.
|
|
Sets a new render model for the current object.
|