100 void _inputImageCB(SoField*);
102 void _markAllCSOsForUpdatePressedCB(SoField*);
103 bool _allCSOsNeedUpdate;
117 static void baseEventCB(
void* userData,
ml::BaseEvent* event);
120 bool needsUpdate(
ml::CSO* cso);
125 ml::CSOListPtr _listenToCSOList;
127 std::set<int> _needsUpdateCSOIds;
#define SOCSO_EXPORT
Header file for system independent resolution.
SoCSOEditorExtension()
Hidden constructor.
SoSFFloat imageSumValue
The sum of the image values inside the current CSO.
void draw(const CSODrawCSOInfos &csoInfos, const CSODrawView2DInfos &view2DInfos, const CSODrawSliceInformation &drawSliceInfo, SoView2DCSOExtensibleEditor *editor) override
Drawing routine.
SoSFFloat imageRescaleIntercept
The image value rescale intercept as read out from DICOM tag (0028,1052).
~SoCSOImageStatistics() override
bool shouldRenderGeneral(ml::CSO *) const override
SoSFFloat imageVarianceValue
The image value variance inside the current CSO.
SoSFFloat imageAbsMeanValue
The image mean of absolute values inside the current CSO.
void selectAndMoveStartPressAt(const SoPointerPosition &) override
void createDragMoveTo(const SoPointerPosition &) override
SoSFBool imageValuesValid
Shows whether the image value fields are valid.
static void initClass()
init class in inventor runtime
SoSFMLImage inputImage
Input image field.
void createStartPressAt(const SoPointerPosition &) override
bool createEndPress(int) override
SoSFFloat imageAverageSquaredSumValue
The average of the sum of squared image values inside the current CSO.
SoSFInt32 numVoxels
The number of voxels inside the current CSO.
SoPointingAction * selectAndMoveEndPress(int) override
SoSFFloat imageStdDeviationValue
The image value standard deviation inside the current CSO.
SoSFFloat imageMeanValue
The image mean value inside the current CSO.
SoSFInt32 currentCSOId
Shows the id of the current CSO.
SoSFFloat imageMinValue
The image min value inside the current CSO.
void selectAndMoveDragMoveTo(const SoPointerPosition &) override
int cursorShape() const override
Returns the cursor shape that indicates the next creation.
SoCSOImageStatistics()
Standard constructor.
SoSFTrigger markAllCSOsForUpdate
If pressed, all CSO are being processed at the next draw() call.
SoSFString imageModality
The image's modality string as read out from DICOM tag (0008,0060).
SoSFFloat imageRescaleSlope
The image value rescale slope as read out from DICOM tag (0028,1053).
SoSFFloat imageMaxValue
The image max value inside the current CSO.
void pointerPositionIfAllowedAt(const SoPointerPosition &) override
SoPointerPosition manages the current position of the mouse cursor.
a single slice that is stored in a View2DSliceList, typically created by a View2DSliceList
SoSFMLImage - field interface to ML images and related classes.