|
void | GetPolyData (vtkPolyData *pd) |
|
void | GetSphere (vtkSphere *sphere) |
|
void | SetInteractionState (int state) |
|
|
virtual void | SetRepresentation (int) |
|
virtual int | GetRepresentation () |
|
void | SetRepresentationToOff () |
|
void | SetRepresentationToWireframe () |
|
void | SetRepresentationToSurface () |
|
|
void | SetThetaResolution (int r) |
|
int | GetThetaResolution () |
|
|
void | SetPhiResolution (int r) |
|
int | GetPhiResolution () |
|
|
void | SetCenter (double c[3]) |
|
void | SetCenter (double x, double y, double z) |
|
double * | GetCenter () |
|
void | GetCenter (double xyz[3]) |
|
|
void | SetRadius (double r) |
|
double | GetRadius () |
|
|
virtual void | SetHandleVisibility (int) |
|
virtual int | GetHandleVisibility () |
|
virtual void | HandleVisibilityOn () |
|
virtual void | HandleVisibilityOff () |
|
|
void | SetHandlePosition (double handle[3]) |
|
void | SetHandlePosition (double x, double y, double z) |
|
virtual double * | GetHandlePosition () |
|
virtual void | GetHandlePosition (double &, double &, double &) |
|
virtual void | GetHandlePosition (double[3]) |
|
|
void | SetHandleDirection (double dir[3]) |
|
void | SetHandleDirection (double dx, double dy, double dz) |
|
virtual double * | GetHandleDirection () |
|
virtual void | GetHandleDirection (double &, double &, double &) |
|
virtual void | GetHandleDirection (double[3]) |
|
|
virtual void | SetHandleText (int) |
|
virtual int | GetHandleText () |
|
virtual void | HandleTextOn () |
|
virtual void | HandleTextOff () |
|
|
virtual void | SetRadialLine (int) |
|
virtual int | GetRadialLine () |
|
virtual void | RadialLineOn () |
|
virtual void | RadialLineOff () |
|
|
virtual vtkProperty * | GetSphereProperty () |
|
virtual vtkProperty * | GetSelectedSphereProperty () |
|
|
virtual vtkProperty * | GetHandleProperty () |
|
virtual vtkProperty * | GetSelectedHandleProperty () |
|
|
virtual vtkTextProperty * | GetHandleTextProperty () |
|
|
virtual vtkProperty * | GetRadialLineProperty () |
|
|
virtual void | PlaceWidget (double bounds[6]) |
|
virtual void | PlaceWidget (double center[3], double handlePosition[3]) |
|
virtual void | BuildRepresentation () |
|
virtual int | ComputeInteractionState (int X, int Y, int modify=0) |
|
virtual void | StartWidgetInteraction (double e[2]) |
|
virtual void | WidgetInteraction (double e[2]) |
|
virtual double * | GetBounds () |
|
|
virtual void | ReleaseGraphicsResources (vtkWindow *) |
|
virtual int | RenderOpaqueGeometry (vtkViewport *) |
|
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
|
virtual int | RenderOverlay (vtkViewport *) |
|
virtual int | HasTranslucentPolygonalGeometry () |
|
virtual void | PickingManagedOn () |
|
virtual void | PickingManagedOff () |
|
virtual void | SetPickingManaged (bool) |
|
virtual bool | GetPickingManaged () |
|
virtual void | SetRenderer (vtkRenderer *ren) |
|
virtual vtkRenderer * | GetRenderer () |
|
virtual void | PlaceWidget (double *vtkNotUsed(bounds[6])) |
|
virtual void | EndWidgetInteraction (double newEventPos[2]) |
|
virtual int | GetInteractionState () |
|
virtual void | Highlight (int vtkNotUsed(highlightOn)) |
|
virtual void | SetPlaceFactor (double) |
|
virtual double | GetPlaceFactor () |
|
virtual void | SetHandleSize (double) |
|
virtual double | GetHandleSize () |
|
virtual int | GetNeedToRender () |
|
virtual void | SetNeedToRender (int) |
|
virtual void | NeedToRenderOn () |
|
virtual void | NeedToRenderOff () |
|
virtual void | ShallowCopy (vtkProp *prop) |
|
virtual void | GetActors (vtkPropCollection *) |
|
virtual void | GetActors2D (vtkPropCollection *) |
|
virtual void | GetVolumes (vtkPropCollection *) |
|
virtual int | RenderOverlay (vtkViewport *vtkNotUsed(viewport)) |
|
virtual int | RenderOpaqueGeometry (vtkViewport *vtkNotUsed(viewport)) |
|
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *vtkNotUsed(viewport)) |
|
virtual int | RenderVolumetricGeometry (vtkViewport *vtkNotUsed(viewport)) |
|
vtkWidgetRepresentation * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
vtkProp * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | Pick () |
|
virtual bool | HasKeys (vtkInformation *requiredKeys) |
|
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
|
virtual void | SetVisibility (int) |
|
virtual int | GetVisibility () |
|
virtual void | VisibilityOn () |
|
virtual void | VisibilityOff () |
|
virtual void | SetPickable (int) |
|
virtual int | GetPickable () |
|
virtual void | PickableOn () |
|
virtual void | PickableOff () |
|
virtual void | SetDragable (int) |
|
virtual int | GetDragable () |
|
virtual void | DragableOn () |
|
virtual void | DragableOff () |
|
virtual unsigned long | GetRedrawMTime () |
|
virtual void | SetUseBounds (bool) |
|
virtual bool | GetUseBounds () |
|
virtual void | UseBoundsOn () |
|
virtual void | UseBoundsOff () |
|
virtual void | InitPathTraversal () |
|
virtual vtkAssemblyPath * | GetNextPath () |
|
virtual int | GetNumberOfPaths () |
|
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
|
virtual vtkMatrix4x4 * | GetMatrix () |
|
virtual vtkInformation * | GetPropertyKeys () |
|
virtual void | SetPropertyKeys (vtkInformation *keys) |
|
virtual vtkIdType | GetConvertedPickValue (vtkIdType idIn, int vtkNotUsed(fieldassociation)) |
|
virtual int | RenderVolumetricGeometry (vtkViewport *) |
|
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
|
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
|
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
|
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
|
virtual double | GetEstimatedRenderTime (vtkViewport *) |
|
virtual double | GetEstimatedRenderTime () |
|
virtual void | SetEstimatedRenderTime (double t) |
|
virtual void | RestoreEstimatedRenderTime () |
|
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
|
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
|
virtual double | GetAllocatedRenderTime () |
|
void | SetRenderTimeMultiplier (double t) |
|
virtual double | GetRenderTimeMultiplier () |
|
virtual bool | GetSupportsSelection () |
|
virtual int | GetNumberOfConsumers () |
|
void | AddConsumer (vtkObject *c) |
|
void | RemoveConsumer (vtkObject *c) |
|
vtkObject * | GetConsumer (int i) |
|
int | IsConsumer (vtkObject *c) |
|
vtkObject * | NewInstance () const |
|
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) |
|
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 () |
|
a class defining the representation for the vtkSphereWidget2
This class is a concrete representation for the vtkSphereWidget2. It represents a sphere with an optional handle. Through interaction with the widget, the sphere can be arbitrarily positioned and scaled in 3D space; and the handle can be moved on the surface of the sphere. Typically the vtkSphereWidget2/vtkSphereRepresentation are used to position a sphere for the purpose of extracting, cutting or clipping data; or the handle is moved on the sphere to position a light or camera.
To use this representation, you normally use the PlaceWidget() method to position the widget at a specified region in space. It is also possible to set the center of the sphere, a radius, and/or a handle position.
- Warning
- Note that the representation is overconstrained in that the center and radius of the sphere can be defined, this information plus the handle direction defines the geometry of the representation. Alternatively, the user may specify the center of the sphere plus the handle position.
-
This class, and vtkSphereWidget2, are second generation VTK widgets. An earlier version of this functionality was defined in the class vtkSphereWidget.
- See also
- vtkSphereWidget2 vtkSphereWidget
- Tests:
- vtkSphereRepresentation (Tests)
Definition at line 76 of file vtkSphereRepresentation.h.