MeVisLabToolboxReference
ml::CSOProcessorData Class Reference

The CSOProcesorData provides the network data interchange object for processing interaction events and contour interpolation. More...

#include <CSOProcessorData.h>

Inheritance diagram for ml::CSOProcessorData:
ml::Base

List of all members.

Public Member Functions

 CSOProcessorData ()
 Constructor.
 ~CSOProcessorData ()
 Destructor.
void setProcessor (CSOProcessor *processor)
 Sets the processor module.
bool needsMemoryImage ()
 Returns whether the attached processor module needs the current memory image.
void setMemoryImage (float *imageData, int sizex, int sizey, int voxelPosZ, const Matrix4 &voxelToWorldMatrix, const Matrix4 &worldToVoxelMatrix, View2DSliceList *slicelist)
 Sets an image which can be used with an image based interpolation algorithm.
bool isCurrentlyGenerating ()
 Returns whether the processor is currently generating a new contour.
bool isCurrentlyEditing ()
 Returns whether the processor is currently editing an existing contour.
bool couldCloseCSO ()
 Returns whether the processor could close an open CSO by the processor's rules.
int getProcessorMode ()
 Returns the mode of the referenced processor. Is only called if the processor really exists.
bool process (CSOEvalEventView2DInfos view2DInfos, CSOEvalEventCSOInfos csoInfos)
 Processes all interaction events and triggers an interpolation.
void draw (CSODrawView2DInfos view2DInfos, CSODrawCSOInfos csoInfos)
 After the editor has done its drawing, this method is invoked on the processor to draw processor-specific geometry.
void resetInteractionState ()
 Resets the interaction state of the attached processing module.
std::string getProcessorType ()
 Returns the current processor type.
void triggerSetMouseCursor (SoView2D *view2d, bool shouldSetMouseCursor)
 Triggers the processor to set its default mouse cursor.
int getPickingMode ()
 Returns the picking mode of the processor (seed or path points).

Detailed Description

The CSOProcesorData provides the network data interchange object for processing interaction events and contour interpolation.

Definition at line 32 of file CSOProcessorData.h.


Constructor & Destructor Documentation

ml::CSOProcessorData::CSOProcessorData ( )

Constructor.

ml::CSOProcessorData::~CSOProcessorData ( )

Destructor.


Member Function Documentation

bool ml::CSOProcessorData::couldCloseCSO ( )

Returns whether the processor could close an open CSO by the processor's rules.

void ml::CSOProcessorData::draw ( CSODrawView2DInfos  view2DInfos,
CSODrawCSOInfos  csoInfos 
)

After the editor has done its drawing, this method is invoked on the processor to draw processor-specific geometry.

int ml::CSOProcessorData::getPickingMode ( )

Returns the picking mode of the processor (seed or path points).

int ml::CSOProcessorData::getProcessorMode ( )

Returns the mode of the referenced processor. Is only called if the processor really exists.

std::string ml::CSOProcessorData::getProcessorType ( )

Returns the current processor type.

bool ml::CSOProcessorData::isCurrentlyEditing ( )

Returns whether the processor is currently editing an existing contour.

bool ml::CSOProcessorData::isCurrentlyGenerating ( )

Returns whether the processor is currently generating a new contour.

bool ml::CSOProcessorData::needsMemoryImage ( )

Returns whether the attached processor module needs the current memory image.

bool ml::CSOProcessorData::process ( CSOEvalEventView2DInfos  view2DInfos,
CSOEvalEventCSOInfos  csoInfos 
)

Processes all interaction events and triggers an interpolation.

Returns whether the interaction has changed some CSO.

void ml::CSOProcessorData::resetInteractionState ( )

Resets the interaction state of the attached processing module.

void ml::CSOProcessorData::setMemoryImage ( float *  imageData,
int  sizex,
int  sizey,
int  voxelPosZ,
const Matrix4 voxelToWorldMatrix,
const Matrix4 worldToVoxelMatrix,
View2DSliceList slicelist 
)

Sets an image which can be used with an image based interpolation algorithm.

void ml::CSOProcessorData::setProcessor ( CSOProcessor processor) [inline]

Sets the processor module.

Definition at line 43 of file CSOProcessorData.h.

void ml::CSOProcessorData::triggerSetMouseCursor ( SoView2D view2d,
bool  shouldSetMouseCursor 
)

Triggers the processor to set its default mouse cursor.


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