MeVisLabToolboxReference
SoCSOImageStatistics Class Reference

Extension for gathering voxel information inside CSOs on the current slice. More...

#include <SoCSOImageStatistics.h>

Inheritance diagram for SoCSOImageStatistics:
SoCSOEditorExtension

List of all members.

Classes

struct  PathPointsSegment
 Structure for handling path points segments.
struct  vectorXSort
 For sorting Vector3s according to their x-component.

Public Member Functions

 SoCSOImageStatistics ()
 Standard constructor.
virtual void draw (const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor)
 Drawing routine.
virtual void createStartPressAt (const SoPointerPosition &)
virtual void createDragMoveTo (const SoPointerPosition &)
virtual bool createEndPress (int)
virtual void selectAndMoveStartPressAt (const SoPointerPosition &)
virtual void selectAndMoveDragMoveTo (const SoPointerPosition &)
virtual SoPointingAction * selectAndMoveEndPress (int)
virtual int cursorShape () const
 Returns the cursor shape that indicates the next creation.
virtual bool shouldRenderGeneral (ml::CSO *) const
 Returns whether a given CSO should be rendered by this general extension.

Static Public Member Functions

static void initClass ()
 init class in inventor runtime

Public Attributes

SoSFInt32 currentCSOId
 Shows the id of the current CSO.
SoSFInt32 numVoxels
 The number of voxels inside the current CSO.
SoSFFloat imageMinValue
 The image min value inside the current CSO.
SoSFFloat imageMaxValue
 The image max value inside the current CSO.
SoSFFloat imageMeanValue
 The image mean value inside the current CSO.
SoSFFloat imageAbsMeanValue
 The image mean of absolute values inside the current CSO.
SoSFFloat imageVarianceValue
 The image value variance inside the current CSO.
SoSFFloat imageStdDeviationValue
 The image value standard deviation inside the current CSO.
SoSFFloat imageAverageSquaredSumValue
 The average of the sum of squared image values inside the current CSO.
SoSFString imageModality
 The image's modality string as read out from DICOM tag (0008,0060).
SoSFFloat imageRescaleIntercept
 The image value rescale intercept as read out from DICOM tag (0028,1052).
SoSFFloat imageRescaleSlope
 The image value rescale slope as read out from DICOM tag (0028,1053).
SoSFBool imageValuesValid
 Shows whether the image value fields are valid.
SoSFTrigger markAllCSOsForUpdate
 If pressed, all CSO are being processed at the next draw() call.
SoSFMLImage inputImage
 Input image field.

Protected Member Functions

 ~SoCSOImageStatistics ()

Detailed Description

Extension for gathering voxel information inside CSOs on the current slice.

Definition at line 24 of file SoCSOImageStatistics.h.


Constructor & Destructor Documentation

SoCSOImageStatistics::SoCSOImageStatistics ( )

Standard constructor.

SoCSOImageStatistics::~SoCSOImageStatistics ( ) [protected]

Member Function Documentation

virtual void SoCSOImageStatistics::createDragMoveTo ( const SoPointerPosition &  ) [inline, virtual]

Implements SoCSOEditorExtension.

Definition at line 71 of file SoCSOImageStatistics.h.

virtual bool SoCSOImageStatistics::createEndPress ( int  ) [inline, virtual]

Implements SoCSOEditorExtension.

Definition at line 72 of file SoCSOImageStatistics.h.

virtual void SoCSOImageStatistics::createStartPressAt ( const SoPointerPosition &  ) [inline, virtual]

Implements SoCSOEditorExtension.

Definition at line 70 of file SoCSOImageStatistics.h.

virtual int SoCSOImageStatistics::cursorShape ( ) const [inline, virtual]

Returns the cursor shape that indicates the next creation.

Reimplemented from SoCSOEditorExtension.

Definition at line 78 of file SoCSOImageStatistics.h.

References SoViewerProxy::DEFAULT_CURSOR.

virtual void SoCSOImageStatistics::draw ( const CSODrawCSOInfos csoInfos,
const CSODrawView2DInfos view2DInfos,
const CSODrawSliceInformation drawSliceInfo,
SoView2DCSOExtensibleEditor editor 
) [virtual]

Drawing routine.

Reimplemented from SoCSOEditorExtension.

static void SoCSOImageStatistics::initClass ( ) [static]

init class in inventor runtime

Reimplemented from SoCSOEditorExtension.

virtual void SoCSOImageStatistics::selectAndMoveDragMoveTo ( const SoPointerPosition &  ) [inline, virtual]

Implements SoCSOEditorExtension.

Definition at line 75 of file SoCSOImageStatistics.h.

virtual SoPointingAction* SoCSOImageStatistics::selectAndMoveEndPress ( int  ) [inline, virtual]

Implements SoCSOEditorExtension.

Definition at line 76 of file SoCSOImageStatistics.h.

virtual void SoCSOImageStatistics::selectAndMoveStartPressAt ( const SoPointerPosition &  ) [inline, virtual]

Implements SoCSOEditorExtension.

Definition at line 74 of file SoCSOImageStatistics.h.

virtual bool SoCSOImageStatistics::shouldRenderGeneral ( ml::CSO ) const [inline, virtual]

Returns whether a given CSO should be rendered by this general extension.

Overwrite this in general renderers.

Reimplemented from SoCSOEditorExtension.

Definition at line 80 of file SoCSOImageStatistics.h.


Member Data Documentation

Shows the id of the current CSO.

Definition at line 34 of file SoCSOImageStatistics.h.

The image mean of absolute values inside the current CSO.

Definition at line 44 of file SoCSOImageStatistics.h.

The average of the sum of squared image values inside the current CSO.

Definition at line 50 of file SoCSOImageStatistics.h.

The image max value inside the current CSO.

Definition at line 40 of file SoCSOImageStatistics.h.

The image mean value inside the current CSO.

Definition at line 42 of file SoCSOImageStatistics.h.

The image min value inside the current CSO.

Definition at line 38 of file SoCSOImageStatistics.h.

The image's modality string as read out from DICOM tag (0008,0060).

Definition at line 52 of file SoCSOImageStatistics.h.

The image value rescale intercept as read out from DICOM tag (0028,1052).

Definition at line 54 of file SoCSOImageStatistics.h.

The image value rescale slope as read out from DICOM tag (0028,1053).

Definition at line 56 of file SoCSOImageStatistics.h.

The image value standard deviation inside the current CSO.

Definition at line 48 of file SoCSOImageStatistics.h.

Shows whether the image value fields are valid.

Definition at line 58 of file SoCSOImageStatistics.h.

The image value variance inside the current CSO.

Definition at line 46 of file SoCSOImageStatistics.h.

Input image field.

Definition at line 62 of file SoCSOImageStatistics.h.

If pressed, all CSO are being processed at the next draw() call.

Definition at line 60 of file SoCSOImageStatistics.h.

The number of voxels inside the current CSO.

Definition at line 36 of file SoCSOImageStatistics.h.


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