MeVisLab Toolbox Reference
|
Base object class for passing DVPresentationState objects between MeVisLab modules. More...
#include <mlPresentationStateBase.h>
Public Member Functions | |
PresentationState (const std::string &dcmFileName="", MultiFileVolumeList *mfvl=NULL) | |
Constructor specifying the name of the DICOM file containing the PR document to be wrapped as well as optionally the MultiFileVolumeList in which this object lives. | |
DVPresentationStatePtr | getDVPresentationStateIOD () |
Get the PresentationState dcmtk object. | |
bool | isValid () |
Return true if wrapped PresentationStateumentIOD object is valid. | |
const MultiFileVolumeList * | getMultiFileVolumeList () |
Returns the associated MultiFileVolumeList in which this object lives or NULL if there is none. | |
Public Member Functions inherited from ml::Base | |
Base () | |
Constructor. | |
virtual | ~Base () |
Destructor. | |
virtual Base * | deepCopy () const |
Set addStateToTree version number that can be accessed via getAddStateVersion() | |
bool | isOfAllowedType (const std::vector< const RuntimeType * > &types) const |
Check if this object's type is equal to or derived from one of the types given in the argument. | |
virtual bool | isRefCountedBase () const |
Returns if the instance is derived from RefCountedBase. | |
virtual std::string | detailString () const |
Return a string describing this object. | |
virtual bool | implementsPersistence (PersistenceInterface) const |
Override this method to declare which persistence interfaces are implemented by your derived class. | |
virtual std::string | persistentState () const |
Returns a string describing the object's internal state. | |
virtual void | setPersistentState (const std::string &state) |
Restores the object's internal state from a string that had been previously generated using persistentState() . | |
virtual void | addStateToTree (TreeNode *) const |
Attaches the object state as children of the given parent node. | |
virtual void | readStateFromTree (TreeNode *) |
Reads the object state from the children of the given parent node. | |
virtual void | writeTo (AbstractPersistenceOutputStream *) const |
Write the objects state to the data stream object. | |
virtual void | readFrom (AbstractPersistenceInputStream *, int) |
Read the objects state from the data stream object. | |
Additional Inherited Members | |
Public Types inherited from ml::Base | |
enum | PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream } |
This enum describes the different persistence interfaces available. More... | |
Base object class for passing DVPresentationState objects between MeVisLab modules.
Definition at line 42 of file mlPresentationStateBase.h.
ml::PresentationState::PresentationState | ( | const std::string & | dcmFileName = "", |
MultiFileVolumeList * | mfvl = NULL ) |
Constructor specifying the name of the DICOM file containing the PR document to be wrapped as well as optionally the MultiFileVolumeList in which this object lives.
|
inline |
Get the PresentationState dcmtk object.
Definition at line 53 of file mlPresentationStateBase.h.
const MultiFileVolumeList * ml::PresentationState::getMultiFileVolumeList | ( | ) |
Returns the associated MultiFileVolumeList in which this object lives or NULL if there is none.
Might be useful to find associated and also imported DICOM files.
|
inline |
Return true if wrapped PresentationStateumentIOD object is valid.
Definition at line 56 of file mlPresentationStateBase.h.
References mlrange_cast().