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 if 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 if the processor is currently generating a new contour.
bool isCurrentlyEditing ()
 Returns if the processor is currently editing an existing contour.
bool couldCloseCSO ()
 Returns if 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 (CSOList *csoList, Vector3 &currentHitPoint, int hitMode, CSO *recentlySelectedCSO, CSOSeedPoint *recentlySelectedSeedPoint, CSOPathPoints *recentlySelectedPathPoints, SoView2D *view2d, View2DSliceList *slicelist, View2DEvent *ec, View2DEventPhase phase, CSOBoundingBox slabBB, int timepointindex, bool deleteSeedPoint)
 Processes all interaction events and triggers an interpolation.
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 35 of file CSOProcessorData.h.


Constructor & Destructor Documentation

ml::CSOProcessorData::CSOProcessorData (  ) 

Constructor.

ml::CSOProcessorData::~CSOProcessorData (  ) 

Destructor.


Member Function Documentation

bool ml::CSOProcessorData::couldCloseCSO (  ) 

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

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 if the processor is currently editing an existing contour.

bool ml::CSOProcessorData::isCurrentlyGenerating (  ) 

Returns if the processor is currently generating a new contour.

bool ml::CSOProcessorData::needsMemoryImage (  ) 

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

bool ml::CSOProcessorData::process ( CSOList csoList,
Vector3 currentHitPoint,
int  hitMode,
CSO recentlySelectedCSO,
CSOSeedPoint recentlySelectedSeedPoint,
CSOPathPoints recentlySelectedPathPoints,
SoView2D view2d,
View2DSliceList slicelist,
View2DEvent ec,
View2DEventPhase  phase,
CSOBoundingBox  slabBB,
int  timepointindex,
bool  deleteSeedPoint 
)

Processes all interaction events and triggers an interpolation.

Returns if 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 46 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:

Generated on Sat Sep 3 18:39:42 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8