ml::CSOPrimitiveProcessor Class Reference

Module which enables interactive generation of primitive contours such as ellipses and rectangles. More...

#include <CSOPrimitiveProcessor.h>

Inheritance diagram for ml::CSOPrimitiveProcessor:

ml::CSOProcessor ml::CSOGenerator ml::CSOBaseModule ml::Module ml::FieldContainer ml::Base

List of all members.

Public Member Functions

 CSOPrimitiveProcessor ()
 Constructor.
virtual 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)
 Evaluates the interaction events and interpolates the contours accordingly.
virtual bool needsMemoryImage ()
 Returns if the processor need the current memory image for interpolation.
virtual void setMemoryImage (float *imageData, int sizex, int sizey, int voxelPosZ, float *voxelToWorldMatrix, float *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.
virtual void resetInteractionState ()
 Sets back internal interaction state.
virtual void triggerSetMouseCursor (SoView2D *view2d, bool shouldSetMouseCursor)
 Triggers the setting of the processor's default mouse cursor.

Protected Member Functions

virtual ~CSOPrimitiveProcessor ()
 Destructor.


Detailed Description

Module which enables interactive generation of primitive contours such as ellipses and rectangles.

Definition at line 43 of file CSOPrimitiveProcessor.h.


Constructor & Destructor Documentation

ml::CSOPrimitiveProcessor::CSOPrimitiveProcessor (  ) 

Constructor.

virtual ml::CSOPrimitiveProcessor::~CSOPrimitiveProcessor (  )  [protected, virtual]

Destructor.


Member Function Documentation

bool ml::CSOPrimitiveProcessor::isCurrentlyEditing (  )  [virtual]

Returns if the processor is currently editing an existing contour.

Reimplemented from ml::CSOProcessor.

bool ml::CSOPrimitiveProcessor::isCurrentlyGenerating (  )  [virtual]

Returns if the processor is currently generating a new contour.

Reimplemented from ml::CSOProcessor.

virtual bool ml::CSOPrimitiveProcessor::needsMemoryImage (  )  [virtual]

Returns if the processor need the current memory image for interpolation.

Reimplemented from ml::CSOProcessor.

virtual bool ml::CSOPrimitiveProcessor::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 
) [virtual]

Evaluates the interaction events and interpolates the contours accordingly.

Returns 'true' if anything has changed.

Reimplemented from ml::CSOProcessor.

virtual void ml::CSOPrimitiveProcessor::resetInteractionState (  )  [virtual]

Sets back internal interaction state.

Reimplemented from ml::CSOProcessor.

virtual void ml::CSOPrimitiveProcessor::setMemoryImage ( float *  imageData,
int  sizex,
int  sizey,
int  voxelPosZ,
float *  voxelToWorldMatrix,
float *  worldToVoxelMatrix,
View2DSliceList slicelist 
) [virtual]

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

virtual void ml::CSOPrimitiveProcessor::triggerSetMouseCursor ( SoView2D view2d,
bool  shouldSetMouseCursor 
) [virtual]

Triggers the setting of the processor's default mouse cursor.

Reimplemented from ml::CSOProcessor.


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