Slicer
5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Show slice intersection lines. More...
#include <Libs/MRML/DisplayableManager/vtkMRMLWindowLevelWidget.h>
Public Member Functions | |
virtual void | BackgroundVolumeEditableOff () |
virtual void | BackgroundVolumeEditableOn () |
bool | CanProcessInteractionEvent (vtkMRMLInteractionEventData *eventData, double &distance2) override |
Return true if the widget can process the event. More... | |
void | CreateDefaultRepresentation () |
virtual void | ForegroundVolumeEditableOff () |
virtual void | ForegroundVolumeEditableOn () |
virtual bool | GetBackgroundVolumeEditable () |
virtual bool | GetForegroundVolumeEditable () |
vtkMRMLSliceLogic * | GetSliceLogic () |
vtkMRMLSliceNode * | GetSliceNode () |
void | Leave (vtkMRMLInteractionEventData *eventData) override |
Called when the the widget loses the focus. More... | |
bool | ProcessInteractionEvent (vtkMRMLInteractionEventData *eventData) override |
Process interaction event. More... | |
virtual void | SetBackgroundVolumeEditable (bool) |
virtual void | SetForegroundVolumeEditable (bool) |
void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *applicationLogic) override |
void | SetSliceNode (vtkMRMLSliceNode *sliceNode) |
bool | UpdateWindowLevelFromRectangle (int layer, int cornerPoint1[2], int cornerPoint2[2]) |
Public Member Functions inherited from vtkMRMLAbstractWidget | |
virtual vtkWidgetEventTranslator * | GetEventTranslator (int widgetState) |
virtual bool | GetGrabFocus () |
vtkMRMLInteractionNode * | GetInteractionNode () |
virtual bool | GetInteractive () |
virtual int | GetMouseCursor () |
vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () |
virtual bool | GetNeedToRender () |
virtual int | GetNumberOfEventTranslators () |
vtkRenderer * | GetRenderer () |
virtual vtkMRMLAbstractWidgetRepresentation * | GetRepresentation () |
Get the representation. More... | |
virtual int | GetWidgetState () |
Convenient method to determine the state of the method. More... | |
virtual void | NeedToRenderOff () |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | SetEventTranslation (int widgetState, unsigned long interactionEvent, int modifiers, unsigned long widgetEvent) |
void | SetEventTranslation (unsigned long interactionEvent, int modifiers, unsigned long widgetEvent) |
void | SetEventTranslationClickAndDrag (int widgetState, unsigned long startInteractionEvent, int modifiers, int widgetStateDragging, unsigned long widgetStartEvent, unsigned long widgetEndEvent) |
void | SetKeyboardEventTranslation (int modifier, char keyCode, int repeatCount, const char *keySym, unsigned long widgetEvent) |
void | SetKeyboardEventTranslation (int widgetState, int modifier, char keyCode, int repeatCount, const char *keySym, unsigned long widgetEvent) |
void | SetRenderer (vtkRenderer *renderer) |
virtual void | SetRepresentation (vtkMRMLAbstractWidgetRepresentation *r) |
virtual void | SetWidgetState (int) |
Convenient method to change what state the widget is in. More... | |
virtual unsigned long | TranslateInteractionEventToWidgetEvent (vtkMRMLInteractionEventData *eventData) |
Get widget event from translation event. More... | |
virtual void | UpdateFromMRML (vtkMRMLNode *caller, unsigned long event, void *callData=nullptr) |
Build the actors of the representation with the info stored in the MRML scene. More... | |
Static Public Member Functions | |
static const char * | GetAdjustWindowLevelModeAsString (int id) |
static int | GetAdjustWindowLevelModeFromString (const char *name) |
static const char * | GetInteractionNodeAdjustWindowLevelModeAttributeName () |
static vtkMRMLWindowLevelWidget * | New () |
Static Public Member Functions inherited from vtkMRMLAbstractWidget | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractWidget * | SafeDownCast (vtkObject *o) |
Show slice intersection lines.
The vtkMRMLWindowLevelWidget allows moving slices by interacting with displayed slice intersection lines.
Definition at line 46 of file vtkMRMLWindowLevelWidget.h.
Standard VTK class macros.
Definition at line 66 of file vtkMRMLWindowLevelWidget.h.
anonymous enum |
Enumerator | |
---|---|
ModeAdjust | |
ModeRectangle | |
ModeRectangleCentered | |
Mode_Last |
Definition at line 54 of file vtkMRMLWindowLevelWidget.h.
anonymous enum |
Widget states.
Definition at line 100 of file vtkMRMLWindowLevelWidget.h.
anonymous enum |
Widget events.
Definition at line 109 of file vtkMRMLWindowLevelWidget.h.
|
protected |
|
overrideprotected |
|
virtual |
|
virtual |
|
overridevirtual |
Return true if the widget can process the event.
Reimplemented from vtkMRMLAbstractWidget.
|
protectedvirtual |
|
protectedvirtual |
void vtkMRMLWindowLevelWidget::CreateDefaultRepresentation | ( | ) |
Create the default widget representation if one is not set.
|
virtual |
|
virtual |
|
static |
|
static |
|
virtual |
|
protectedvirtual |
Rubberband is centered around the click position.
|
virtual |
Reimplemented from vtkMRMLAbstractWidget.
|
protected |
|
virtual |
|
inlinestatic |
Definition at line 129 of file vtkMRMLWindowLevelWidget.h.
vtkMRMLSliceLogic* vtkMRMLWindowLevelWidget::GetSliceLogic | ( | ) |
vtkMRMLSliceNode* vtkMRMLWindowLevelWidget::GetSliceNode | ( | ) |
|
protected |
|
virtual |
Reimplemented from vtkMRMLAbstractWidget.
|
static |
|
overridevirtual |
Called when the the widget loses the focus.
Reimplemented from vtkMRMLAbstractWidget.
|
static |
Instantiate this class.
|
override |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Process interaction event.
Reimplemented from vtkMRMLAbstractWidget.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
virtual |
|
protectedvirtual |
|
virtual |
|
overridevirtual |
Reimplemented from vtkMRMLAbstractWidget.
void vtkMRMLWindowLevelWidget::SetSliceNode | ( | vtkMRMLSliceNode * | sliceNode | ) |
|
protected |
bool vtkMRMLWindowLevelWidget::UpdateWindowLevelFromRectangle | ( | int | layer, |
int | cornerPoint1[2], | ||
int | cornerPoint2[2] | ||
) |
|
protected |
Definition at line 183 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 180 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 166 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 181 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 174 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 176 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 169 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 164 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 161 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 168 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 175 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 171 of file vtkMRMLWindowLevelWidget.h.
|
protected |
Definition at line 178 of file vtkMRMLWindowLevelWidget.h.