26#ifndef vtkResliceImageViewerMeasurements_h
27#define vtkResliceImageViewerMeasurements_h
29#include "vtkInteractionImageModule.h"
87 vtkSetMacro(Tolerance,
double);
88 vtkGetMacro(Tolerance,
double);
128 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
supports function callbacks
create and manipulate ordered lists of objects
vtkFrustumSelector is a vtkSelector that selects elements based on whether they are inside or interse...
abstract class for representing widget handles
a simple class to control print indentation
abstract base class for most VTK objects
Manage measurements on a resliced image.
vtkCallbackCommand * EventCallbackCommand
vtkResliceImageViewerMeasurements()
bool IsWidgetOnReslicedPlane(vtkBiDimensionalWidget *w)
Check if a measurement widget is on the resliced plane.
bool IsWidgetOnReslicedPlane(vtkDistanceWidget *w)
Check if a measurement widget is on the resliced plane.
virtual void RemoveItem(vtkAbstractWidget *)
Add / remove a measurement widget.
virtual void SetResliceImageViewer(vtkResliceImageViewer *)
Set the reslice image viewer.
vtkCollection * WidgetCollection
static void ProcessEventsHandler(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
bool IsItemOnReslicedPlane(vtkAbstractWidget *w)
Check if a measurement widget is on the resliced plane.
virtual void AddItem(vtkAbstractWidget *)
Add / remove a measurement widget.
virtual void RemoveAllItems()
Add / remove a measurement widget.
bool IsWidgetOnReslicedPlane(vtkHandleWidget *w)
Check if a measurement widget is on the resliced plane.
virtual void Render()
Render the measurements.
bool IsWidgetOnReslicedPlane(vtkCaptionWidget *w)
Check if a measurement widget is on the resliced plane.
vtkResliceImageViewer * ResliceImageViewer
virtual void Update()
Update the measurements.
~vtkResliceImageViewerMeasurements() override
bool IsPointOnReslicedPlane(vtkHandleRepresentation *h)
Check if a measurement widget is on the resliced plane.
bool IsWidgetOnReslicedPlane(vtkContourWidget *w)
Check if a measurement widget is on the resliced plane.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
bool IsWidgetOnReslicedPlane(vtkSeedWidget *w)
Check if a measurement widget is on the resliced plane.
bool IsWidgetOnReslicedPlane(vtkAngleWidget *w)
Check if a measurement widget is on the resliced plane.
bool IsPositionOnReslicedPlane(double p[3])
Check if a measurement widget is on the resliced plane.
vtkTypeBool ProcessEvents
static vtkResliceImageViewerMeasurements * New()
Standard VTK methods.
Display an image along with a reslice cursor.