VTK
|
a widget to manipulate 3D parallelopipeds More...
#include <vtkParallelopipedWidget.h>
Public Types | |
typedef vtkAbstractWidget | Superclass |
![]() | |
typedef vtkInteractorObserver | Superclass |
Static Public Member Functions | |
static vtkParallelopipedWidget * | New () |
static int | IsTypeOf (const char *type) |
static vtkParallelopipedWidget * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkAbstractWidget * | SafeDownCast (vtkObjectBase *o) |
Protected Types | |
enum | WidgetEventIds { RequestResizeEvent = 10000, RequestResizeAlongAnAxisEvent, RequestChairModeEvent } |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkParallelopipedWidget () | |
~vtkParallelopipedWidget () | |
void | SetCursor (int state) |
virtual void | ReportReferences (vtkGarbageCollector *collector) |
void | BeginTranslateAction (vtkParallelopipedWidget *dispatcher) |
void | TranslateAction (vtkParallelopipedWidget *dispatcher) |
![]() | |
vtkAbstractWidget () | |
~vtkAbstractWidget () | |
void | SetWidgetRepresentation (vtkWidgetRepresentation *r) |
virtual void | SetCursor (int vtkNotUsed(state)) |
Static Protected Member Functions | |
static void | RequestResizeCallback (vtkAbstractWidget *) |
static void | RequestResizeAlongAnAxisCallback (vtkAbstractWidget *) |
static void | RequestChairModeCallback (vtkAbstractWidget *) |
static void | TranslateCallback (vtkAbstractWidget *) |
static void | OnMouseMoveCallback (vtkAbstractWidget *) |
static void | OnLeftButtonUpCallback (vtkAbstractWidget *) |
![]() | |
static void | ProcessEventsHandler (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Protected Attributes | |
int | EnableChairCreation |
vtkHandleWidget ** | HandleWidgets |
vtkWidgetSet * | WidgetSet |
![]() | |
vtkWidgetRepresentation * | WidgetRep |
int | ManagesCursor |
vtkWidgetEventTranslator * | EventTranslator |
vtkWidgetCallbackMapper * | CallbackMapper |
vtkAbstractWidget * | Parent |
void * | CallData |
int | ProcessEvents |
Friends | |
class | vtkWidgetSet |
a widget to manipulate 3D parallelopipeds
This widget was designed with the aim of visualizing / probing cuts on a skewed image data / structured grid.
Definition at line 56 of file vtkParallelopipedWidget.h.
Definition at line 65 of file vtkParallelopipedWidget.h.
|
protected |
Events invoked by this widget
Enumerator | |
---|---|
RequestResizeEvent | |
RequestResizeAlongAnAxisEvent | |
RequestChairModeEvent |
Definition at line 137 of file vtkParallelopipedWidget.h.
|
protected |
|
protected |
|
static |
Instantiate the object.
|
static |
|
virtual |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
|
static |
|
protectedvirtual |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
vtkParallelopipedWidget* vtkParallelopipedWidget::NewInstance | ( | ) | const |
void vtkParallelopipedWidget::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Override the superclass method. This is a composite widget, (it internally consists of handle widgets). We will override the superclass method, so that we can pass the enabled state to the internal widgets as well.
Reimplemented from vtkAbstractWidget.
|
inline |
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget.
Definition at line 78 of file vtkParallelopipedWidget.h.
|
inline |
Return the representation as a vtkParallelopipedRepresentation.
Definition at line 87 of file vtkParallelopipedWidget.h.
|
virtual |
Enable/disable the creation of a chair on this widget. If off, chairs cannot be created.
|
virtual |
Enable/disable the creation of a chair on this widget. If off, chairs cannot be created.
|
virtual |
Enable/disable the creation of a chair on this widget. If off, chairs cannot be created.
|
virtual |
Enable/disable the creation of a chair on this widget. If off, chairs cannot be created.
|
virtual |
Create the default widget representation if one is not set.
Implements vtkAbstractWidget.
|
virtual |
Methods to change the whether the widget responds to interaction. Overridden to pass the state to component widgets.
Reimplemented from vtkAbstractWidget.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
friend |
Definition at line 59 of file vtkParallelopipedWidget.h.
|
protected |
Definition at line 118 of file vtkParallelopipedWidget.h.
|
protected |
Definition at line 132 of file vtkParallelopipedWidget.h.
|
protected |
Definition at line 146 of file vtkParallelopipedWidget.h.