VTK
|
defining the representation for a vtkImplicitCylinderWidget More...
#include <vtkImplicitCylinderRepresentation.h>
Public Types | |
enum | _InteractionState { Outside =0, Moving, MovingOutline, MovingCenter, RotatingAxis, AdjustingRadius, Scaling } |
![]() | |
typedef vtkProp | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
void | GetCylinder (vtkCylinder *cyl) |
void | GetPolyData (vtkPolyData *pd) |
void | UpdatePlacement (void) |
void | BumpCylinder (int dir, double factor) |
void | PushCylinder (double distance) |
void | SetCenter (double x, double y, double z) |
void | SetCenter (double x[3]) |
double * | GetCenter () |
void | GetCenter (double xyz[3]) |
void | SetAxis (double x, double y, double z) |
void | SetAxis (double a[3]) |
double * | GetAxis () |
void | GetAxis (double a[3]) |
void | SetRadius (double r) |
double | GetRadius () |
virtual void | SetMinRadius (double) |
virtual double | GetMinRadius () |
virtual void | SetMaxRadius (double) |
virtual double | GetMaxRadius () |
void | SetAlongXAxis (int) |
virtual int | GetAlongXAxis () |
virtual void | AlongXAxisOn () |
virtual void | AlongXAxisOff () |
void | SetAlongYAxis (int) |
virtual int | GetAlongYAxis () |
virtual void | AlongYAxisOn () |
virtual void | AlongYAxisOff () |
void | SetAlongZAxis (int) |
virtual int | GetAlongZAxis () |
virtual void | AlongZAxisOn () |
virtual void | AlongZAxisOff () |
void | SetDrawCylinder (int plane) |
virtual int | GetDrawCylinder () |
virtual void | DrawCylinderOn () |
virtual void | DrawCylinderOff () |
virtual void | SetResolution (int) |
virtual int | GetResolution () |
virtual void | SetTubing (int) |
virtual int | GetTubing () |
virtual void | TubingOn () |
virtual void | TubingOff () |
virtual void | SetOutlineTranslation (int) |
virtual int | GetOutlineTranslation () |
virtual void | OutlineTranslationOn () |
virtual void | OutlineTranslationOff () |
virtual void | SetOutsideBounds (int) |
virtual int | GetOutsideBounds () |
virtual void | OutsideBoundsOn () |
virtual void | OutsideBoundsOff () |
virtual void | SetScaleEnabled (int) |
virtual int | GetScaleEnabled () |
virtual void | ScaleEnabledOn () |
virtual void | ScaleEnabledOff () |
virtual vtkProperty * | GetAxisProperty () |
virtual vtkProperty * | GetSelectedAxisProperty () |
virtual vtkProperty * | GetCylinderProperty () |
virtual vtkProperty * | GetSelectedCylinderProperty () |
virtual vtkProperty * | GetOutlineProperty () |
virtual vtkProperty * | GetSelectedOutlineProperty () |
virtual vtkProperty * | GetEdgesProperty () |
void | SetEdgeColor (vtkLookupTable *) |
void | SetEdgeColor (double, double, double) |
void | SetEdgeColor (double x[3]) |
virtual int | ComputeInteractionState (int X, int Y, int modify=0) |
virtual void | PlaceWidget (double bounds[6]) |
virtual void | BuildRepresentation () |
virtual void | StartWidgetInteraction (double eventPos[2]) |
virtual void | WidgetInteraction (double newEventPos[2]) |
virtual void | EndWidgetInteraction (double newEventPos[2]) |
virtual double * | GetBounds () |
virtual void | GetActors (vtkPropCollection *pc) |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
virtual int | RenderOpaqueGeometry (vtkViewport *) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
virtual int | HasTranslucentPolygonalGeometry () |
virtual void | SetBumpDistance (double) |
virtual double | GetBumpDistance () |
virtual void | SetInteractionState (int) |
virtual void | SetRepresentationState (int) |
virtual int | GetRepresentationState () |
![]() | |
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 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 | 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 int | RenderVolumetricGeometry (vtkViewport *) |
virtual int | RenderOverlay (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 () |
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 () |
Static Public Member Functions | |
static vtkImplicitCylinderRepresentation * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkWidgetRepresentation * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkProp * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerKey * | GeneralTextureUnit () |
static vtkInformationDoubleVectorKey * | GeneralTextureTransform () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
defining the representation for a vtkImplicitCylinderWidget
This class is a concrete representation for the vtkImplicitCylinderWidget. It represents an infinite cylinder defined by a radius, a center, and an axis. The cylinder is placed within its associated bounding box and the intersection of the cylinder with the bounding box is shown to visually indicate the orientation and position of the representation. This cylinder representation can be manipulated by using the vtkImplicitCylinderWidget to adjust the cylinder radius, axis, and/or center point. (Note that the bounding box is defined during invocation of the superclass' PlaceWidget() method.)
To use this representation, you normally specify a radius, center, and axis. Optionally you can specify a minimum and maximum radius, and a resolution for the cylinder. Finally, place the widget and its representation in the scene using PlaceWidget().
Definition at line 67 of file vtkImplicitCylinderRepresentation.h.
Standard methods for the class.
Definition at line 75 of file vtkImplicitCylinderRepresentation.h.
Enumerator | |
---|---|
Outside | |
Moving | |
MovingOutline | |
MovingCenter | |
RotatingAxis | |
AdjustingRadius | |
Scaling |
Definition at line 271 of file vtkImplicitCylinderRepresentation.h.
|
protected |
|
protected |
|
static |
Instantiate the class.
|
static |
Standard methods for the class.
|
virtual |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
|
static |
Standard methods for the class.
|
protectedvirtual |
Standard methods for the class.
Reimplemented from vtkWidgetRepresentation.
vtkImplicitCylinderRepresentation* vtkImplicitCylinderRepresentation::NewInstance | ( | ) | const |
Standard methods for the class.
|
virtual |
Standard methods for the class.
Reimplemented from vtkObject.
Get the center of the cylinder. The center is located along the cylinder axis.
void vtkImplicitCylinderRepresentation::SetCenter | ( | double | x[3] | ) |
Get the center of the cylinder. The center is located along the cylinder axis.
double* vtkImplicitCylinderRepresentation::GetCenter | ( | ) |
Get the center of the cylinder. The center is located along the cylinder axis.
void vtkImplicitCylinderRepresentation::GetCenter | ( | double | xyz[3] | ) |
Get the center of the cylinder. The center is located along the cylinder axis.
Set/Get the axis of rotation for the cylinder. If the axis is not specified as a unit vector, it will be normalized.
void vtkImplicitCylinderRepresentation::SetAxis | ( | double | a[3] | ) |
Set/Get the axis of rotation for the cylinder. If the axis is not specified as a unit vector, it will be normalized.
double* vtkImplicitCylinderRepresentation::GetAxis | ( | ) |
Set/Get the axis of rotation for the cylinder. If the axis is not specified as a unit vector, it will be normalized.
void vtkImplicitCylinderRepresentation::GetAxis | ( | double | a[3] | ) |
Set/Get the axis of rotation for the cylinder. If the axis is not specified as a unit vector, it will be normalized.
void vtkImplicitCylinderRepresentation::SetRadius | ( | double | r | ) |
Set/Get the radius of the cylinder. Note that if the radius is too big the cylinder will be outside of the bounding box.
double vtkImplicitCylinderRepresentation::GetRadius | ( | ) |
Set/Get the radius of the cylinder. Note that if the radius is too big the cylinder will be outside of the bounding box.
|
virtual |
Set/Get the minimum and maximum radius of the cylinder. This helps prevent the cylinder from "disappearing" during interaction. Note that the minimum and maximum radius is specified as a fraction of the diagonal length of the widget bounding box.
|
virtual |
Set/Get the minimum and maximum radius of the cylinder. This helps prevent the cylinder from "disappearing" during interaction. Note that the minimum and maximum radius is specified as a fraction of the diagonal length of the widget bounding box.
|
virtual |
Set/Get the minimum and maximum radius of the cylinder. This helps prevent the cylinder from "disappearing" during interaction. Note that the minimum and maximum radius is specified as a fraction of the diagonal length of the widget bounding box.
|
virtual |
Set/Get the minimum and maximum radius of the cylinder. This helps prevent the cylinder from "disappearing" during interaction. Note that the minimum and maximum radius is specified as a fraction of the diagonal length of the widget bounding box.
void vtkImplicitCylinderRepresentation::SetAlongXAxis | ( | int | ) |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
void vtkImplicitCylinderRepresentation::SetAlongYAxis | ( | int | ) |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
void vtkImplicitCylinderRepresentation::SetAlongZAxis | ( | int | ) |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
|
virtual |
Force the cylinder widget to be aligned with one of the x-y-z axes. If one axis is set on, the other two will be set off. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the plane to the axes if it is originally not aligned.
void vtkImplicitCylinderRepresentation::SetDrawCylinder | ( | int | plane | ) |
Enable/disable the drawing of the cylinder. In some cases the cylinder interferes with the object that it is operating on (e.g., the cylinder interferes with the cut surface it produces resulting in z-buffer artifacts.) By default it is off.
|
virtual |
Enable/disable the drawing of the cylinder. In some cases the cylinder interferes with the object that it is operating on (e.g., the cylinder interferes with the cut surface it produces resulting in z-buffer artifacts.) By default it is off.
|
virtual |
Enable/disable the drawing of the cylinder. In some cases the cylinder interferes with the object that it is operating on (e.g., the cylinder interferes with the cut surface it produces resulting in z-buffer artifacts.) By default it is off.
|
virtual |
Enable/disable the drawing of the cylinder. In some cases the cylinder interferes with the object that it is operating on (e.g., the cylinder interferes with the cut surface it produces resulting in z-buffer artifacts.) By default it is off.
|
virtual |
Set/Get the resolution of the cylinder. This is the number of polygonal facets used to approximate the curved cylindrical surface (for rendering purposes). An vtkCylinder is used under the hood to provide an exact surface representation.
|
virtual |
Set/Get the resolution of the cylinder. This is the number of polygonal facets used to approximate the curved cylindrical surface (for rendering purposes). An vtkCylinder is used under the hood to provide an exact surface representation.
|
virtual |
Turn on/off tubing of the wire outline of the cylinder intersecton (against the bounding box). The tube thickens the line by wrapping with a vtkTubeFilter.
|
virtual |
Turn on/off tubing of the wire outline of the cylinder intersecton (against the bounding box). The tube thickens the line by wrapping with a vtkTubeFilter.
|
virtual |
Turn on/off tubing of the wire outline of the cylinder intersecton (against the bounding box). The tube thickens the line by wrapping with a vtkTubeFilter.
|
virtual |
Turn on/off tubing of the wire outline of the cylinder intersecton (against the bounding box). The tube thickens the line by wrapping with a vtkTubeFilter.
|
virtual |
Turn on/off the ability to translate the bounding box by moving it with the mouse.
|
virtual |
Turn on/off the ability to translate the bounding box by moving it with the mouse.
|
virtual |
Turn on/off the ability to translate the bounding box by moving it with the mouse.
|
virtual |
Turn on/off the ability to translate the bounding box by moving it with the mouse.
|
virtual |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
|
virtual |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
|
virtual |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
|
virtual |
Turn on/off the ability to move the widget outside of the bounds specified in the initial PlaceWidget() invocation.
|
virtual |
Turn on/off the ability to scale the widget with the mouse.
|
virtual |
Turn on/off the ability to scale the widget with the mouse.
|
virtual |
Turn on/off the ability to scale the widget with the mouse.
|
virtual |
Turn on/off the ability to scale the widget with the mouse.
void vtkImplicitCylinderRepresentation::GetCylinder | ( | vtkCylinder * | cyl | ) |
Get the implicit function for the cylinder. The user must provide the instance of the class vtkCylinder. Note that vtkCylinder is a subclass of vtkImplicitFunction, meaning that it can be used by a variety of filters to perform clipping, cutting, and selection of data.
void vtkImplicitCylinderRepresentation::GetPolyData | ( | vtkPolyData * | pd | ) |
Grab the polydata that defines the cylinder. The polydata contains polygons that are clipped by the bounding box.
void vtkImplicitCylinderRepresentation::UpdatePlacement | ( | void | ) |
Satisfies the superclass API. This will change the state of the widget to match changes that have been made to the underlying PolyDataSource.
|
virtual |
Get the properties on the axis (line and cone).
|
virtual |
Get the properties on the axis (line and cone).
|
virtual |
Get the cylinder properties. The properties of the cylinder when selected and unselected can be manipulated.
|
virtual |
Get the cylinder properties. The properties of the cylinder when selected and unselected can be manipulated.
|
virtual |
Get the property of the outline.
|
virtual |
Get the property of the outline.
|
virtual |
Get the property of the intersection edges. (This property also applies to the edges when tubed.)
void vtkImplicitCylinderRepresentation::SetEdgeColor | ( | vtkLookupTable * | ) |
Set color to the edge
Set color to the edge
void vtkImplicitCylinderRepresentation::SetEdgeColor | ( | double | x[3] | ) |
Set color to the edge
|
virtual |
Methods to interface with the vtkImplicitCylinderWidget.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to interface with the vtkImplicitCylinderWidget.
|
virtual |
Methods to interface with the vtkImplicitCylinderWidget.
Implements vtkWidgetRepresentation.
|
virtual |
Methods to interface with the vtkImplicitCylinderWidget.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to interface with the vtkImplicitCylinderWidget.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods to interface with the vtkImplicitCylinderWidget.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Methods supporting the rendering process.
Reimplemented from vtkProp.
|
virtual |
Methods supporting the rendering process.
Reimplemented from vtkProp.
|
virtual |
Methods supporting the rendering process.
Reimplemented from vtkWidgetRepresentation.
|
virtual |
Specify a translation distance used by the BumpCylinder() method. Note that the distance is normalized; it is the fraction of the length of the bounding box of the wire outline.
|
virtual |
Specify a translation distance used by the BumpCylinder() method. Note that the distance is normalized; it is the fraction of the length of the bounding box of the wire outline.
Translate the cylinder in the direction of the view vector by the specified BumpDistance. The dir parameter controls which direction the pushing occurs, either in the same direction as the view vector, or when negative, in the opposite direction. The factor controls what percentage of the bump is used.
void vtkImplicitCylinderRepresentation::PushCylinder | ( | double | distance | ) |
Push the cylinder the distance specified along the view vector. Positive values are in the direction of the view vector; negative values are in the opposite direction. The distance value is expressed in world coordinates.
|
virtual |
The interaction state may be set from a widget (e.g., vtkImplicitCylinderWidget) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
|
virtual |
Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.
|
virtual |
Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Register internal Pickers in the Picking Manager. Must be reimplemented by concrete widget representations to register their pickers.
Reimplemented from vtkWidgetRepresentation.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 304 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 307 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 310 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 311 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 314 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 317 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 318 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 319 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 322 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 325 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 328 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 329 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 330 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 331 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 333 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 334 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 335 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 338 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 339 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 340 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 341 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 345 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 346 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 347 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 348 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 349 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 352 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 353 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 354 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 358 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 359 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 360 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 363 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 364 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 365 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 368 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 369 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 370 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 373 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 374 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 375 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 378 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 379 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 385 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 400 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 401 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 402 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 403 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 404 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 405 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 406 of file vtkImplicitCylinderRepresentation.h.
|
protected |
Definition at line 413 of file vtkImplicitCylinderRepresentation.h.