|
virtual void | SetEnabled (int enabling) |
|
|
virtual void | PlaceWidget (double bounds[6]) |
|
|
virtual double * | GetPlanePositions () |
|
virtual void | GetPlanePositions (double &, double &, double &, double &, double &, double &) |
|
virtual void | GetPlanePositions (double[6]) |
|
virtual void | SetPlanePositions (double pos[6]) |
|
virtual void | SetPlanePositions (float pos[6]) |
|
virtual void | SetPlanePositions (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) |
|
|
virtual void | SetCroppingRegionFlags (int flags) |
|
virtual int | GetCroppingRegionFlags () |
|
|
virtual void | SetSlice (int num) |
|
virtual int | GetSlice () |
|
|
virtual void | SetLine1Color (double r, double g, double b) |
|
virtual void | SetLine1Color (double rgb[3]) |
|
virtual double * | GetLine1Color () |
|
virtual void | GetLine1Color (double rgb[3]) |
|
|
virtual void | SetLine2Color (double r, double g, double b) |
|
virtual void | SetLine2Color (double rgb[3]) |
|
virtual double * | GetLine2Color () |
|
virtual void | GetLine2Color (double rgb[3]) |
|
|
virtual void | SetLine3Color (double r, double g, double b) |
|
virtual void | SetLine3Color (double rgb[3]) |
|
virtual double * | GetLine3Color () |
|
virtual void | GetLine3Color (double rgb[3]) |
|
|
virtual void | SetLine4Color (double r, double g, double b) |
|
virtual void | SetLine4Color (double rgb[3]) |
|
virtual double * | GetLine4Color () |
|
virtual void | GetLine4Color (double rgb[3]) |
|
|
virtual void | SetVolumeMapper (vtkVolumeMapper *mapper) |
|
virtual vtkVolumeMapper * | GetVolumeMapper () |
|
virtual void | UpdateAccordingToInput () |
|
|
void | MoveHorizontalLine () |
|
void | MoveVerticalLine () |
|
void | MoveIntersectingLines () |
|
void | UpdateCursorIcon () |
|
void | OnButtonPress () |
|
void | OnButtonRelease () |
|
void | OnMouseMove () |
|
vtk3DWidget * | NewInstance () const |
|
virtual void | PlaceWidget () |
|
virtual void | PlaceWidget (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) |
|
virtual void | SetProp3D (vtkProp3D *) |
|
virtual vtkProp3D * | GetProp3D () |
|
virtual void | SetInputData (vtkDataSet *) |
|
virtual void | SetInputConnection (vtkAlgorithmOutput *) |
|
virtual vtkDataSet * | GetInput () |
|
virtual void | SetPlaceFactor (double) |
|
virtual double | GetPlaceFactor () |
|
virtual void | SetHandleSize (double) |
|
virtual double | GetHandleSize () |
|
vtkInteractorObserver * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | OnChar () |
|
int | GetEnabled () |
|
void | EnabledOn () |
|
void | EnabledOff () |
|
void | On () |
|
void | Off () |
|
virtual void | SetInteractor (vtkRenderWindowInteractor *iren) |
|
virtual vtkRenderWindowInteractor * | GetInteractor () |
|
virtual void | SetPriority (float) |
|
virtual float | GetPriority () |
|
virtual void | PickingManagedOn () |
|
virtual void | PickingManagedOff () |
|
virtual void | SetPickingManaged (bool) |
|
virtual bool | GetPickingManaged () |
|
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 () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool 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) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(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 &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
| vtkImageCroppingRegionsWidget () |
|
| ~vtkImageCroppingRegionsWidget () |
|
double | GetSlicePosition () |
|
void | SetMouseCursor (int state) |
|
int | ComputeWorldCoordinate (int x, int y, double *coord) |
|
void | UpdateOpacity () |
|
void | UpdateGeometry () |
|
void | ConstrainPlanePositions (double positions[6]) |
|
| vtk3DWidget () |
|
| ~vtk3DWidget () |
|
void | AdjustBounds (double bounds[6], double newBounds[6], double center[3]) |
|
double | SizeHandles (double factor) |
|
virtual void | SizeHandles () |
|
void | UpdateInput () |
|
| vtkInteractorObserver () |
|
| ~vtkInteractorObserver () |
|
virtual void | RegisterPickers () |
|
void | UnRegisterPickers () |
|
virtual void | PickersModified () |
|
vtkPickingManager * | GetPickingManager () |
|
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]) |
|
vtkAssemblyPath * | GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker) |
|
| 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 &) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
widget for cropping an image
This widget displays a set of axis aligned lines that can be interactively manipulated to crop a volume. The region to be cropped away is displayed in a different highlight. Much like the vtkVolumeMapper, this widget supports 27 possible configurations of cropping planes. (See CroppingRegionFlags). If a volume mapper is set, the cropping planes are directly propagated to the volume mapper. The widget invokes a CroppingPlanesPositionChangedEvent when the position of any of the cropping planes is changed. The widget also invokes an InteractionEvent in response to user interaction.
- Events:
- vtkCommand::EndInteractionEvent vtkCommand::DisableEvent vtkCommand::EnableEvent vtkCommand::StartInteractionEvent vtkCommand::InteractionEvent
- Tests:
- vtkImageCroppingRegionsWidget (Tests)
Definition at line 47 of file vtkImageCroppingRegionsWidget.h.