VTK
|
a widget to manipulate 3D parallelopipeds More...
#include <vtkParallelopipedWidget.h>
Public Types | |
typedef vtkAbstractWidget | Superclass |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetEnabled (int) |
void | CreateDefaultRepresentation () |
virtual void | SetProcessEvents (int) |
void | SetRepresentation (vtkParallelopipedRepresentation *r) |
vtkParallelopipedRepresentation * | GetParallelopipedRepresentation () |
virtual void | SetEnableChairCreation (int) |
virtual int | GetEnableChairCreation () |
virtual void | EnableChairCreationOn () |
virtual void | EnableChairCreationOff () |
![]() | |
void | Render () |
virtual void | SetPriority (float) |
virtual int | GetProcessEvents () |
virtual void | ProcessEventsOn () |
virtual void | ProcessEventsOff () |
vtkWidgetEventTranslator * | GetEventTranslator () |
void | SetParent (vtkAbstractWidget *parent) |
virtual vtkAbstractWidget * | GetParent () |
vtkWidgetRepresentation * | GetRepresentation () |
virtual void | SetManagesCursor (int) |
virtual int | GetManagesCursor () |
virtual void | ManagesCursorOn () |
virtual void | ManagesCursorOff () |
![]() | |
virtual void | OnChar () |
int | GetEnabled () |
void | EnabledOn () |
void | EnabledOff () |
void | On () |
void | Off () |
virtual void | SetInteractor (vtkRenderWindowInteractor *iren) |
virtual vtkRenderWindowInteractor * | GetInteractor () |
virtual float | GetPriority () |
virtual void | SetKeyPressActivation (int) |
virtual int | GetKeyPressActivation () |
virtual void | KeyPressActivationOn () |
virtual void | KeyPressActivationOff () |
virtual void | SetKeyPressActivationValue (char) |
virtual char | GetKeyPressActivationValue () |
virtual vtkRenderer * | GetDefaultRenderer () |
virtual void | SetDefaultRenderer (vtkRenderer *) |
virtual vtkRenderer * | GetCurrentRenderer () |
virtual void | SetCurrentRenderer (vtkRenderer *) |
void | GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | ReleaseFocus () |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkParallelopipedWidget * | New () |
static int | IsTypeOf (const char *type) |
static vtkParallelopipedWidget * | SafeDownCast (vtkObject *o) |
![]() | |
static void | ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4]) |
static void | ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3]) |
![]() | |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Protected Types | |
enum | WidgetEventIds { RequestResizeEvent = 10000, RequestResizeAlongAnAxisEvent, RequestChairModeEvent } |
Protected Member Functions | |
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)) |
![]() | |
vtkInteractorObserver () | |
~vtkInteractorObserver () | |
int | RequestCursorShape (int requestedShape) |
virtual void | StartInteraction () |
virtual void | EndInteraction () |
void | ComputeDisplayToWorld (double x, double y, double z, double worldPt[4]) |
void | ComputeWorldToDisplay (double x, double y, double z, double displayPt[3]) |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
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) |
![]() | |
static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
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 55 of file vtkParallelopipedWidget.h.
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
Definition at line 64 of file vtkParallelopipedWidget.h.
|
protected |
Events invoked by this widget
Definition at line 136 of file vtkParallelopipedWidget.h.
|
protected |
|
protected |
|
static |
Instantiate the object.
Reimplemented from vtkObject.
|
virtual |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
|
static |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
|
virtual |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
|
static |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
|
virtual |
Standard macros implementing standard VTK methods.
Reimplemented from vtkAbstractWidget.
|
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 77 of file vtkParallelopipedWidget.h.
|
inline |
Return the representation as a vtkParallelopipedRepresentation.
Definition at line 86 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 |
Reimplemented from vtkObjectBase.
|
friend |
Definition at line 58 of file vtkParallelopipedWidget.h.
|
protected |
Definition at line 117 of file vtkParallelopipedWidget.h.
|
protected |
Definition at line 131 of file vtkParallelopipedWidget.h.
|
protected |
Definition at line 145 of file vtkParallelopipedWidget.h.