MeVisLabToolboxReference
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::CSOGeneratorBase ml::Module ml::FieldContainer ml::Base

List of all members.

Public Member Functions

 CSOPrimitiveProcessor ()
 Constructor.
virtual bool process (CSOEvalEventView2DInfos view2DInfos, CSOEvalEventCSOInfos csoInfos)
 Evaluates the interaction events and interpolates the contours accordingly.
virtual bool needsMemoryImage ()
 Returns whether 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 whether the processor is currently generating a new contour.
bool isCurrentlyEditing ()
 Returns whether 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 whether the processor is currently editing an existing contour.

Reimplemented from ml::CSOProcessor.

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

Returns whether the processor is currently generating a new contour.

Reimplemented from ml::CSOProcessor.

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

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

Reimplemented from ml::CSOProcessor.

virtual bool ml::CSOPrimitiveProcessor::process ( CSOEvalEventView2DInfos  view2DInfos,
CSOEvalEventCSOInfos  csoInfos 
) [virtual]

Evaluates the interaction events and interpolates the contours accordingly.

Returns whether something 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: