ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkWidgetRepresentation Class Reference

vtkWidgetRepresentation - abstract class defines interface between the widget and widget representation classes More...

Inheritance diagram for Kitware.VTK.vtkWidgetRepresentation:
[legend]
Collaboration diagram for Kitware.VTK.vtkWidgetRepresentation:
[legend]

List of all members.

Public Member Functions

 vtkWidgetRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void BuildRepresentation ()
 Subclasses of vtkWidgetRepresentation must implement these methods. This is considered the minimum API for a widget representation. <pre> SetRenderer() - the renderer in which the widget is to appear must be set. BuildRepresentation() - update the geometry of the widget based on its current state. </pre> WARNING: The renderer is NOT reference counted by the representation, in order to avoid reference loops. Be sure that the representation lifetime does not extend beyond the renderer lifetime.
virtual int ComputeInteractionState (int X, int Y, int modify)
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.
virtual void EndWidgetInteraction (IntPtr newEventPos)
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.
override void GetActors (vtkPropCollection arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override void GetActors2D (vtkPropCollection arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override double[] GetBounds ()
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
virtual double GetHandleSize ()
 Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)
virtual double GetHandleSizeMaxValue ()
 Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)
virtual double GetHandleSizeMinValue ()
 Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)
virtual int GetInteractionState ()
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.
virtual int GetNeedToRender ()
 Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).
virtual int GetNeedToRenderMaxValue ()
 Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).
virtual int GetNeedToRenderMinValue ()
 Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).
virtual double GetPlaceFactor ()
 Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.
virtual double GetPlaceFactorMaxValue ()
 Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.
virtual double GetPlaceFactorMinValue ()
 Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.
virtual vtkRenderer GetRenderer ()
 Subclasses of vtkWidgetRepresentation must implement these methods. This is considered the minimum API for a widget representation. <pre> SetRenderer() - the renderer in which the widget is to appear must be set. BuildRepresentation() - update the geometry of the widget based on its current state. </pre> WARNING: The renderer is NOT reference counted by the representation, in order to avoid reference loops. Be sure that the representation lifetime does not extend beyond the renderer lifetime.
override void GetVolumes (vtkPropCollection arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override int HasTranslucentPolygonalGeometry ()
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
virtual void Highlight (int arg0)
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.
override int IsA (string type)
 Standard methods for instances of this class.
virtual void NeedToRenderOff ()
 Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).
virtual void NeedToRenderOn ()
 Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).
new vtkWidgetRepresentation NewInstance ()
 Standard methods for instances of this class.
virtual void PlaceWidget (IntPtr arg0)
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.
override void ReleaseGraphicsResources (vtkWindow arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override int RenderOpaqueGeometry (vtkViewport arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override int RenderOverlay (vtkViewport arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override int RenderTranslucentPolygonalGeometry (vtkViewport arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
override int RenderVolumetricGeometry (vtkViewport arg0)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
virtual void SetHandleSize (double _arg)
 Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)
virtual void SetNeedToRender (int _arg)
 Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).
virtual void SetPlaceFactor (double _arg)
 Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.
virtual void SetRenderer (vtkRenderer ren)
 Subclasses of vtkWidgetRepresentation must implement these methods. This is considered the minimum API for a widget representation. <pre> SetRenderer() - the renderer in which the widget is to appear must be set. BuildRepresentation() - update the geometry of the widget based on its current state. </pre> WARNING: The renderer is NOT reference counted by the representation, in order to avoid reference loops. Be sure that the representation lifetime does not extend beyond the renderer lifetime.
override void ShallowCopy (vtkProp prop)
 Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).
virtual void StartWidgetInteraction (IntPtr eventPos)
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.
virtual void WidgetInteraction (IntPtr newEventPos)
 The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Static Public Member Functions

static new int IsTypeOf (string type)
 Standard methods for instances of this class.
static new vtkWidgetRepresentation SafeDownCast (vtkObjectBase o)
 Standard methods for instances of this class.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkWidgetRepresentation"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "23vtkWidgetRepresentation"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal void vtkWidgetRepresentation_BuildRepresentation_01 (HandleRef pThis)
static internal int vtkWidgetRepresentation_ComputeInteractionState_02 (HandleRef pThis, int X, int Y, int modify)
static internal void vtkWidgetRepresentation_EndWidgetInteraction_03 (HandleRef pThis, IntPtr newEventPos)
static internal void vtkWidgetRepresentation_GetActors_04 (HandleRef pThis, HandleRef arg0)
static internal void vtkWidgetRepresentation_GetActors2D_05 (HandleRef pThis, HandleRef arg0)
static internal IntPtr vtkWidgetRepresentation_GetBounds_06 (HandleRef pThis)
static internal double vtkWidgetRepresentation_GetHandleSize_07 (HandleRef pThis)
static internal double vtkWidgetRepresentation_GetHandleSizeMaxValue_08 (HandleRef pThis)
static internal double vtkWidgetRepresentation_GetHandleSizeMinValue_09 (HandleRef pThis)
static internal int vtkWidgetRepresentation_GetInteractionState_10 (HandleRef pThis)
static internal int vtkWidgetRepresentation_GetNeedToRender_11 (HandleRef pThis)
static internal int vtkWidgetRepresentation_GetNeedToRenderMaxValue_12 (HandleRef pThis)
static internal int vtkWidgetRepresentation_GetNeedToRenderMinValue_13 (HandleRef pThis)
static internal double vtkWidgetRepresentation_GetPlaceFactor_14 (HandleRef pThis)
static internal double vtkWidgetRepresentation_GetPlaceFactorMaxValue_15 (HandleRef pThis)
static internal double vtkWidgetRepresentation_GetPlaceFactorMinValue_16 (HandleRef pThis)
static internal IntPtr vtkWidgetRepresentation_GetRenderer_17 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkWidgetRepresentation_GetVolumes_18 (HandleRef pThis, HandleRef arg0)
static internal int vtkWidgetRepresentation_HasTranslucentPolygonalGeometry_19 (HandleRef pThis)
static internal void vtkWidgetRepresentation_Highlight_20 (HandleRef pThis, int arg0)
static internal int vtkWidgetRepresentation_IsA_21 (HandleRef pThis, string type)
static internal int vtkWidgetRepresentation_IsTypeOf_22 (string type)
static internal void vtkWidgetRepresentation_NeedToRenderOff_23 (HandleRef pThis)
static internal void vtkWidgetRepresentation_NeedToRenderOn_24 (HandleRef pThis)
static internal IntPtr vtkWidgetRepresentation_NewInstance_25 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkWidgetRepresentation_PlaceWidget_26 (HandleRef pThis, IntPtr arg0)
static internal void vtkWidgetRepresentation_ReleaseGraphicsResources_27 (HandleRef pThis, HandleRef arg0)
static internal int vtkWidgetRepresentation_RenderOpaqueGeometry_28 (HandleRef pThis, HandleRef arg0)
static internal int vtkWidgetRepresentation_RenderOverlay_29 (HandleRef pThis, HandleRef arg0)
static internal int vtkWidgetRepresentation_RenderTranslucentPolygonalGeometry_30 (HandleRef pThis, HandleRef arg0)
static internal int vtkWidgetRepresentation_RenderVolumetricGeometry_31 (HandleRef pThis, HandleRef arg0)
static internal IntPtr vtkWidgetRepresentation_SafeDownCast_32 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkWidgetRepresentation_SetHandleSize_33 (HandleRef pThis, double _arg)
static internal void vtkWidgetRepresentation_SetNeedToRender_34 (HandleRef pThis, int _arg)
static internal void vtkWidgetRepresentation_SetPlaceFactor_35 (HandleRef pThis, double _arg)
static internal void vtkWidgetRepresentation_SetRenderer_36 (HandleRef pThis, HandleRef ren)
static internal void vtkWidgetRepresentation_ShallowCopy_37 (HandleRef pThis, HandleRef prop)
static internal void vtkWidgetRepresentation_StartWidgetInteraction_38 (HandleRef pThis, IntPtr eventPos)
static internal void vtkWidgetRepresentation_WidgetInteraction_39 (HandleRef pThis, IntPtr newEventPos)

Static Private Member Functions

static vtkWidgetRepresentation ()
 Automatically generated type registration mechanics.

Detailed Description

vtkWidgetRepresentation - abstract class defines interface between the widget and widget representation classes

Description This class is used to define the API for, and partially implement, a representation for different types of widgets. Note that the widget representation (i.e., subclasses of vtkWidgetRepresentation) are a type of vtkProp; meaning that they can be associated with a vtkRenderer end embedded in a scene like any other vtkActor. However, vtkWidgetRepresentation also defines an API that enables it to be paired with a subclass vtkAbstractWidget, meaning that it can be driven by a widget, serving to represent the widget as the widget responds to registered events.

The API defined here should be regarded as a guideline for implementing widgets and widget representations. Widget behavior is complex, as is the way the representation responds to the registered widget events, so the API may vary from widget to widget to reflect this complexity.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

Subclasses of vtkWidgetRepresentation must implement these methods. This is considered the minimum API for a widget representation. <pre> SetRenderer() - the renderer in which the widget is to appear must be set. BuildRepresentation() - update the geometry of the widget based on its current state. </pre> WARNING: The renderer is NOT reference counted by the representation, in order to avoid reference loops. Be sure that the representation lifetime does not extend beyond the renderer lifetime.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkContinuousValueWidgetRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, and Kitware.VTK.vtkTensorProbeRepresentation.

virtual int Kitware.VTK.vtkWidgetRepresentation.ComputeInteractionState ( int  X,
int  Y,
int  modify 
) [virtual]

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkDistanceRepresentation, and Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D.

override void Kitware.VTK.vtkWidgetRepresentation.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.

virtual void Kitware.VTK.vtkWidgetRepresentation.EndWidgetInteraction ( IntPtr  newEventPos) [virtual]

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Reimplemented in Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkBalloonRepresentation, and Kitware.VTK.vtkAffineRepresentation2D.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkSliderRepresentation2D, and Kitware.VTK.vtkLogoRepresentation.

override double [] Kitware.VTK.vtkWidgetRepresentation.GetBounds ( ) [virtual]

Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)

Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)

Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).

Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).

Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).

Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.

Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.

Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.

Subclasses of vtkWidgetRepresentation must implement these methods. This is considered the minimum API for a widget representation. <pre> SetRenderer() - the renderer in which the widget is to appear must be set. BuildRepresentation() - update the geometry of the widget based on its current state. </pre> WARNING: The renderer is NOT reference counted by the representation, in order to avoid reference loops. Be sure that the representation lifetime does not extend beyond the renderer lifetime.

Here is the call graph for this function:

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, and Kitware.VTK.vtkScalarBarRepresentation.

virtual void Kitware.VTK.vtkWidgetRepresentation.Highlight ( int  arg0) [virtual]

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Reimplemented in Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation2D, and Kitware.VTK.vtkButtonRepresentation.

override int Kitware.VTK.vtkWidgetRepresentation.IsA ( string  type) [virtual]

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.

static new int Kitware.VTK.vtkWidgetRepresentation.IsTypeOf ( string  type) [static]

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.

Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).

Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.

virtual void Kitware.VTK.vtkWidgetRepresentation.PlaceWidget ( IntPtr  arg0) [virtual]

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, and Kitware.VTK.vtkEllipsoidTensorProbeRepresentation.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, and Kitware.VTK.vtkEllipsoidTensorProbeRepresentation.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, and Kitware.VTK.vtkLogoRepresentation.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPlaybackRepresentation, and Kitware.VTK.vtkScalarBarRepresentation.

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkProp3DButtonRepresentation.

Standard methods for instances of this class.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkLogoRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkContinuousValueWidgetRepresentation, and Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkWidgetRepresentation.SetHandleSize ( double  _arg) [virtual]

Set/Get the factor that controls the size of the handles that appear as part of the widget (if any). These handles (like spheres, etc.) are used to manipulate the widget. The HandleSize data member allows you to change the relative size of the handles. Note that while the handle size is typically expressed in pixels, some subclasses may use a relative size with respect to the viewport. (As a corollary, the value of this ivar is often set by subclasses of this class during instance instantiation.)

Reimplemented in Kitware.VTK.vtkPointHandleRepresentation3D, and Kitware.VTK.vtkSphereHandleRepresentation.

virtual void Kitware.VTK.vtkWidgetRepresentation.SetNeedToRender ( int  _arg) [virtual]

Some subclasses use this data member to keep track of whether to render or not (i.e., to minimize the total number of renders).

virtual void Kitware.VTK.vtkWidgetRepresentation.SetPlaceFactor ( double  _arg) [virtual]

Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). Normally the widget is placed so that it just fits within the bounding box defined in PlaceWidget(bounds). The PlaceFactor will make the widget larger (PlaceFactor > 1) or smaller (PlaceFactor < 1). By default, PlaceFactor is set to 0.5.

Subclasses of vtkWidgetRepresentation must implement these methods. This is considered the minimum API for a widget representation. <pre> SetRenderer() - the renderer in which the widget is to appear must be set. BuildRepresentation() - update the geometry of the widget based on its current state. </pre> WARNING: The renderer is NOT reference counted by the representation, in order to avoid reference loops. Be sure that the representation lifetime does not extend beyond the renderer lifetime.

Reimplemented in Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkHandleRepresentation, and Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation.

override void Kitware.VTK.vtkWidgetRepresentation.ShallowCopy ( vtkProp  prop) [virtual]

Methods to make this class behave as a vtkProp. They are repeated here (from the vtkProp superclass) as a reminder to the widget implementor. Failure to implement these methods properly may result in the representation not appearing in the scene (i.e., not implementing the Render() methods properly) or leaking graphics resources (i.e., not implementing ReleaseGraphicsResources() properly).

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkButtonRepresentation, and Kitware.VTK.vtkAffineRepresentation.

virtual void Kitware.VTK.vtkWidgetRepresentation.StartWidgetInteraction ( IntPtr  eventPos) [virtual]

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.

static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_ComputeInteractionState_02 ( HandleRef  pThis,
int  X,
int  Y,
int  modify 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_EndWidgetInteraction_03 ( HandleRef  pThis,
IntPtr  newEventPos 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetActors2D_05 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetActors_04 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal IntPtr Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetBounds_06 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetHandleSize_07 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetHandleSizeMaxValue_08 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetHandleSizeMinValue_09 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetNeedToRender_11 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetPlaceFactor_14 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetRenderer_17 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_GetVolumes_18 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_Highlight_20 ( HandleRef  pThis,
int  arg0 
) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_IsA_21 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_IsTypeOf_22 ( string  type) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_NeedToRenderOff_23 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_NeedToRenderOn_24 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_NewInstance_25 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_PlaceWidget_26 ( HandleRef  pThis,
IntPtr  arg0 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_ReleaseGraphicsResources_27 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_RenderOpaqueGeometry_28 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_RenderOverlay_29 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_RenderTranslucentPolygonalGeometry_30 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_RenderVolumetricGeometry_31 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal IntPtr Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_SafeDownCast_32 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_SetHandleSize_33 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_SetNeedToRender_34 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_SetPlaceFactor_35 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_SetRenderer_36 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_ShallowCopy_37 ( HandleRef  pThis,
HandleRef  prop 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_StartWidgetInteraction_38 ( HandleRef  pThis,
IntPtr  eventPos 
) [private]
static internal void Kitware.VTK.vtkWidgetRepresentation.vtkWidgetRepresentation_WidgetInteraction_39 ( HandleRef  pThis,
IntPtr  newEventPos 
) [private]
virtual void Kitware.VTK.vtkWidgetRepresentation.WidgetInteraction ( IntPtr  newEventPos) [virtual]

The following is a suggested API for widget representations. These methods define the communication between the widget and its representation. These methods are only suggestions because widgets take on so many different forms that a universal API is not deemed practical. However, these methods should be implemented when possible to insure that the VTK widget hierarchy remains self-consistent. <pre> PlaceWidget() - given a bounding box (xmin,xmax,ymin,ymax,zmin,zmax), place the widget inside of it. The current orientation of the widget is preserved, only scaling and translation is performed. StartWidgetInteraction() - generally corresponds to a initial event (e.g., mouse down) that starts the interaction process with the widget. WidgetInteraction() - invoked when an event causes the widget to change appearance. EndWidgetInteraction() - generally corresponds to a final event (e.g., mouse up) and completes the interaction sequence. ComputeInteractionState() - given (X,Y) display coordinates in a renderer, with a possible flag that modifies the computation, what is the state of the widget? GetInteractionState() - return the current state of the widget. Note that the value of "0" typically refers to "outside". The interaction state is strictly a function of the representation, and the widget/represent must agree on what they mean. Highlight() - turn on or off any highlights associated with the widget. Highlights are generally turned on when the widget is selected. </pre> Note that subclasses may ignore some of these methods and implement their own depending on the specifics of the widget.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkCompassRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkScalarBarRepresentation, and Kitware.VTK.vtkContinuousValueWidgetRepresentation.


Member Data Documentation

new readonly string Kitware.VTK.vtkWidgetRepresentation.MRClassNameKey = "23vtkWidgetRepresentation" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkContinuousValueWidgetRepresentation, Kitware.VTK.vtkCompassRepresentation, and Kitware.VTK.vtkLogoRepresentation.

new const string Kitware.VTK.vtkWidgetRepresentation.MRFullTypeName = "Kitware.VTK.vtkWidgetRepresentation"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkProp.

Reimplemented in Kitware.VTK.vtkContourRepresentation, Kitware.VTK.vtkBalloonRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation, Kitware.VTK.vtkSphereRepresentation, Kitware.VTK.vtkBiDimensionalRepresentation, Kitware.VTK.vtkConstrainedPointHandleRepresentation, Kitware.VTK.vtkAffineRepresentation2D, Kitware.VTK.vtkBiDimensionalRepresentation2D, Kitware.VTK.vtkProp3DButtonRepresentation, Kitware.VTK.vtkButtonRepresentation, Kitware.VTK.vtkFocalPlaneContourRepresentation, Kitware.VTK.vtkHandleRepresentation, Kitware.VTK.vtkScalarBarRepresentation, Kitware.VTK.vtkTexturedButtonRepresentation2D, Kitware.VTK.vtkAbstractPolygonalHandleRepresentation3D, Kitware.VTK.vtkBoxRepresentation, Kitware.VTK.vtkCaptionRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedPolygonalHandleRepresentation3D, Kitware.VTK.vtkParallelopipedRepresentation, Kitware.VTK.vtkAxesTransformRepresentation, Kitware.VTK.vtkEllipsoidTensorProbeRepresentation, Kitware.VTK.vtkImplicitPlaneRepresentation, Kitware.VTK.vtkLineRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkPolygonalHandleRepresentation3D, Kitware.VTK.vtkSplineRepresentation, Kitware.VTK.vtkTensorProbeRepresentation, Kitware.VTK.vtkAffineRepresentation, Kitware.VTK.vtkRectilinearWipeRepresentation, Kitware.VTK.vtkSphereHandleRepresentation, Kitware.VTK.vtkAngleRepresentation2D, Kitware.VTK.vtkAngleRepresentation3D, Kitware.VTK.vtkBorderRepresentation, Kitware.VTK.vtkCheckerboardRepresentation, Kitware.VTK.vtkDistanceRepresentation2D, Kitware.VTK.vtkAngleRepresentation, Kitware.VTK.vtkCameraRepresentation, Kitware.VTK.vtkCenteredSliderRepresentation, Kitware.VTK.vtkDistanceRepresentation3D, Kitware.VTK.vtkSliderRepresentation, Kitware.VTK.vtkSliderRepresentation2D, Kitware.VTK.vtkSliderRepresentation3D, Kitware.VTK.vtkSeedRepresentation, Kitware.VTK.vtkDistanceRepresentation, Kitware.VTK.vtkPlaybackRepresentation, Kitware.VTK.vtkPointHandleRepresentation2D, Kitware.VTK.vtkPointHandleRepresentation3D, Kitware.VTK.vtkTextRepresentation, Kitware.VTK.vtkContinuousValueWidgetRepresentation, Kitware.VTK.vtkCompassRepresentation, and Kitware.VTK.vtkLogoRepresentation.


The documentation for this class was generated from the following file: