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.vtkSplineWidget Class Reference

vtkSplineWidget - 3D widget for manipulating a spline More...

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

List of all members.

Public Member Functions

 vtkSplineWidget (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkSplineWidget ()
 Instantiate the object.
virtual void ClosedOff ()
 Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.
virtual void ClosedOn ()
 Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.
virtual int GetClosed ()
 Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.
void GetHandlePosition (int handle, IntPtr xyz)
 Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.
double[] GetHandlePosition (int handle)
 Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.
virtual vtkProperty GetHandleProperty ()
 Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.
virtual vtkProperty GetLineProperty ()
 Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.
virtual int GetNumberOfHandles ()
 Set/Get the number of handles for this widget.
virtual vtkParametricSpline GetParametricSpline ()
 Set the parametric spline object. Through vtkParametricSpline's API, the user can supply and configure one of currently two types of spline: vtkCardinalSpline, vtkKochanekSpline. The widget controls the open or closed configuration of the spline. WARNING: The widget does not enforce internal consistency so that all three are of the same type.
void GetPolyData (vtkPolyData pd)
 Grab the polydata (including points) that defines the spline. The polydata consists of points and line segments numbering Resolution + 1 and Resoltuion, respectively. Points are guaranteed to be up-to-date when either the InteractionEvent or EndInteraction events are invoked. The user provides the vtkPolyData and the points and polyline are added to it.
virtual int GetProcessEvents ()
 Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.
virtual int GetProcessEventsMaxValue ()
 Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.
virtual int GetProcessEventsMinValue ()
 Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.
virtual int GetProjectToPlane ()
 Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.
virtual int GetProjectionNormal ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual int GetProjectionNormalMaxValue ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual int GetProjectionNormalMinValue ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual double GetProjectionPosition ()
 Set the position of spline handles and points in terms of a plane's position. i.e., if ProjectionNormal is 0, all of the x-coordinate values of the points are set to position. Any value can be passed (and is ignored) to update the spline points when Projection normal is set to 3 for arbritrary plane orientations.
virtual int GetResolution ()
 Set/Get the number of line segments representing the spline for this widget.
virtual vtkProperty GetSelectedHandleProperty ()
 Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.
virtual vtkProperty GetSelectedLineProperty ()
 Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.
double GetSummedLength ()
 Get the approximate vs. the true arc length of the spline. Calculated as the summed lengths of the individual straight line segments. Use SetResolution to control the accuracy.
void InitializeHandles (vtkPoints points)
 Convenience method to allocate and set the handles from a vtkPoints instance. If the first and last points are the same, the spline sets Closed to the on state and disregards the last point, otherwise Closed remains unchanged.
override int IsA (string type)
 Instantiate the object.
int IsClosed ()
 Convenience method to determine whether the spline is closed in a geometric sense. The widget may be set "closed" but still be geometrically open (e.g., a straight line).
new vtkSplineWidget NewInstance ()
 Instantiate the object.
override void PlaceWidget (IntPtr bounds)
 Methods that satisfy the superclass' API.
override void PlaceWidget ()
 Methods that satisfy the superclass' API.
override void PlaceWidget (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
 Methods that satisfy the superclass' API.
virtual void ProcessEventsOff ()
 Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.
virtual void ProcessEventsOn ()
 Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.
virtual void ProjectToPlaneOff ()
 Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.
virtual void ProjectToPlaneOn ()
 Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.
void SetClosed (int closed)
 Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.
override void SetEnabled (int arg0)
 Methods that satisfy the superclass' API.
void SetHandlePosition (int handle, double x, double y, double z)
 Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.
void SetHandlePosition (int handle, IntPtr xyz)
 Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.
virtual void SetHandleProperty (vtkProperty arg0)
 Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.
virtual void SetLineProperty (vtkProperty arg0)
 Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.
virtual void SetNumberOfHandles (int npts)
 Set/Get the number of handles for this widget.
virtual void SetParametricSpline (vtkParametricSpline arg0)
 Set the parametric spline object. Through vtkParametricSpline's API, the user can supply and configure one of currently two types of spline: vtkCardinalSpline, vtkKochanekSpline. The widget controls the open or closed configuration of the spline. WARNING: The widget does not enforce internal consistency so that all three are of the same type.
void SetPlaneSource (vtkPlaneSource plane)
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual void SetProcessEvents (int _arg)
 Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.
virtual void SetProjectToPlane (int _arg)
 Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.
virtual void SetProjectionNormal (int _arg)
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
void SetProjectionNormalToOblique ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
void SetProjectionNormalToXAxes ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
void SetProjectionNormalToYAxes ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
void SetProjectionNormalToZAxes ()
 Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
void SetProjectionPosition (double position)
 Set the position of spline handles and points in terms of a plane's position. i.e., if ProjectionNormal is 0, all of the x-coordinate values of the points are set to position. Any value can be passed (and is ignored) to update the spline points when Projection normal is set to 3 for arbritrary plane orientations.
void SetResolution (int resolution)
 Set/Get the number of line segments representing the spline for this widget.
virtual void SetSelectedHandleProperty (vtkProperty arg0)
 Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.
virtual void SetSelectedLineProperty (vtkProperty arg0)
 Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.

Static Public Member Functions

static new vtkSplineWidget New ()
 Instantiate the object.
static new int IsTypeOf (string type)
 Instantiate the object.
static new vtkSplineWidget SafeDownCast (vtkObjectBase o)
 Instantiate the object.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "15vtkSplineWidget"
 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 IntPtr vtkSplineWidget_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSplineWidget_ClosedOff_01 (HandleRef pThis)
static internal void vtkSplineWidget_ClosedOn_02 (HandleRef pThis)
static internal int vtkSplineWidget_GetClosed_03 (HandleRef pThis)
static internal void vtkSplineWidget_GetHandlePosition_04 (HandleRef pThis, int handle, IntPtr xyz)
static internal IntPtr vtkSplineWidget_GetHandlePosition_05 (HandleRef pThis, int handle)
static internal IntPtr vtkSplineWidget_GetHandleProperty_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkSplineWidget_GetLineProperty_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSplineWidget_GetNumberOfHandles_08 (HandleRef pThis)
static internal IntPtr vtkSplineWidget_GetParametricSpline_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSplineWidget_GetPolyData_10 (HandleRef pThis, HandleRef pd)
static internal int vtkSplineWidget_GetProcessEvents_11 (HandleRef pThis)
static internal int vtkSplineWidget_GetProcessEventsMaxValue_12 (HandleRef pThis)
static internal int vtkSplineWidget_GetProcessEventsMinValue_13 (HandleRef pThis)
static internal int vtkSplineWidget_GetProjectToPlane_14 (HandleRef pThis)
static internal int vtkSplineWidget_GetProjectionNormal_15 (HandleRef pThis)
static internal int vtkSplineWidget_GetProjectionNormalMaxValue_16 (HandleRef pThis)
static internal int vtkSplineWidget_GetProjectionNormalMinValue_17 (HandleRef pThis)
static internal double vtkSplineWidget_GetProjectionPosition_18 (HandleRef pThis)
static internal int vtkSplineWidget_GetResolution_19 (HandleRef pThis)
static internal IntPtr vtkSplineWidget_GetSelectedHandleProperty_20 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkSplineWidget_GetSelectedLineProperty_21 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkSplineWidget_GetSummedLength_22 (HandleRef pThis)
static internal void vtkSplineWidget_InitializeHandles_23 (HandleRef pThis, HandleRef points)
static internal int vtkSplineWidget_IsA_24 (HandleRef pThis, string type)
static internal int vtkSplineWidget_IsClosed_25 (HandleRef pThis)
static internal int vtkSplineWidget_IsTypeOf_26 (string type)
static internal IntPtr vtkSplineWidget_NewInstance_28 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSplineWidget_PlaceWidget_29 (HandleRef pThis, IntPtr bounds)
static internal void vtkSplineWidget_PlaceWidget_30 (HandleRef pThis)
static internal void vtkSplineWidget_PlaceWidget_31 (HandleRef pThis, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
static internal void vtkSplineWidget_ProcessEventsOff_32 (HandleRef pThis)
static internal void vtkSplineWidget_ProcessEventsOn_33 (HandleRef pThis)
static internal void vtkSplineWidget_ProjectToPlaneOff_34 (HandleRef pThis)
static internal void vtkSplineWidget_ProjectToPlaneOn_35 (HandleRef pThis)
static internal IntPtr vtkSplineWidget_SafeDownCast_36 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSplineWidget_SetClosed_37 (HandleRef pThis, int closed)
static internal void vtkSplineWidget_SetEnabled_38 (HandleRef pThis, int arg0)
static internal void vtkSplineWidget_SetHandlePosition_39 (HandleRef pThis, int handle, double x, double y, double z)
static internal void vtkSplineWidget_SetHandlePosition_40 (HandleRef pThis, int handle, IntPtr xyz)
static internal void vtkSplineWidget_SetHandleProperty_41 (HandleRef pThis, HandleRef arg0)
static internal void vtkSplineWidget_SetLineProperty_42 (HandleRef pThis, HandleRef arg0)
static internal void vtkSplineWidget_SetNumberOfHandles_43 (HandleRef pThis, int npts)
static internal void vtkSplineWidget_SetParametricSpline_44 (HandleRef pThis, HandleRef arg0)
static internal void vtkSplineWidget_SetPlaneSource_45 (HandleRef pThis, HandleRef plane)
static internal void vtkSplineWidget_SetProcessEvents_46 (HandleRef pThis, int _arg)
static internal void vtkSplineWidget_SetProjectToPlane_47 (HandleRef pThis, int _arg)
static internal void vtkSplineWidget_SetProjectionNormal_48 (HandleRef pThis, int _arg)
static internal void vtkSplineWidget_SetProjectionNormalToOblique_49 (HandleRef pThis)
static internal void vtkSplineWidget_SetProjectionNormalToXAxes_50 (HandleRef pThis)
static internal void vtkSplineWidget_SetProjectionNormalToYAxes_51 (HandleRef pThis)
static internal void vtkSplineWidget_SetProjectionNormalToZAxes_52 (HandleRef pThis)
static internal void vtkSplineWidget_SetProjectionPosition_53 (HandleRef pThis, double position)
static internal void vtkSplineWidget_SetResolution_54 (HandleRef pThis, int resolution)
static internal void vtkSplineWidget_SetSelectedHandleProperty_55 (HandleRef pThis, HandleRef arg0)
static internal void vtkSplineWidget_SetSelectedLineProperty_56 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkSplineWidget ()
 Automatically generated type registration mechanics.

Detailed Description

vtkSplineWidget - 3D widget for manipulating a spline

Description This 3D widget defines a spline that can be interactively placed in a scene. The spline has handles, the number of which can be changed, plus it can be picked on the spline itself to translate or rotate it in the scene. A nice feature of the object is that the vtkSplineWidget, like any 3D widget, will work with the current interactor style. That is, if vtkSplineWidget does not handle an event, then all other registered observers (including the interactor style) have an opportunity to process the event. Otherwise, the vtkSplineWidget will terminate the processing of the event that it handles.

To use this object, just invoke SetInteractor() with the argument of the method a vtkRenderWindowInteractor. You may also wish to invoke "PlaceWidget()" to initially position the widget. The interactor will act normally until the "i" key (for "interactor") is pressed, at which point the vtkSplineWidget will appear. (See superclass documentation for information about changing this behavior.) Events that occur outside of the widget (i.e., no part of the widget is picked) are propagated to any other registered obsevers (such as the interaction style). Turn off the widget by pressing the "i" key again (or invoke the Off() method).

The button actions and key modifiers are as follows for controlling the widget: 1) left button down on and drag one of the spherical handles to change the shape of the spline: the handles act as "control points". 2) left button or middle button down on a line segment forming the spline allows uniform translation of the widget. 3) ctrl + middle button down on the widget enables spinning of the widget about its center. 4) right button down on the widget enables scaling of the widget. By moving the mouse "up" the render window the spline will be made bigger; by moving "down" the render window the widget will be made smaller. 5) ctrl key + right button down on any handle will erase it providing there will be two or more points remaining to form a spline. 6) shift key + right button down on any line segment will insert a handle onto the spline at the cursor position.

The vtkSplineWidget has several methods that can be used in conjunction with other VTK objects. The Set/GetResolution() methods control the number of subdivisions of the spline; the GetPolyData() method can be used to get the polygonal representation and can be used for things like seeding streamlines or probing other data sets. Typical usage of the widget is to make use of the StartInteractionEvent, InteractionEvent, and EndInteractionEvent events. The InteractionEvent is called on mouse motion; the other two events are called on button down and button up (either left or right button).

Some additional features of this class include the ability to control the properties of the widget. You can set the properties of the selected and unselected representations of the spline. For example, you can set the property for the handles and spline. In addition there are methods to constrain the spline so that it is aligned with a plane. Note that a simple ruler widget can be derived by setting the resolution to 1, the number of handles to 2, and calling the GetSummedLength method!


Constructor & Destructor Documentation

static Kitware.VTK.vtkSplineWidget.vtkSplineWidget ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Instantiate the object.


Member Function Documentation

virtual void Kitware.VTK.vtkSplineWidget.ClosedOff ( ) [virtual]

Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.

virtual void Kitware.VTK.vtkSplineWidget.ClosedOn ( ) [virtual]

Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.

override void Kitware.VTK.vtkSplineWidget.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.vtk3DWidget.

virtual int Kitware.VTK.vtkSplineWidget.GetClosed ( ) [virtual]

Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.

void Kitware.VTK.vtkSplineWidget.GetHandlePosition ( int  handle,
IntPtr  xyz 
)

Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.

Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.

Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.

Here is the call graph for this function:

Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.

Here is the call graph for this function:

Set/Get the number of handles for this widget.

Set the parametric spline object. Through vtkParametricSpline's API, the user can supply and configure one of currently two types of spline: vtkCardinalSpline, vtkKochanekSpline. The widget controls the open or closed configuration of the spline. WARNING: The widget does not enforce internal consistency so that all three are of the same type.

Here is the call graph for this function:

Grab the polydata (including points) that defines the spline. The polydata consists of points and line segments numbering Resolution + 1 and Resoltuion, respectively. Points are guaranteed to be up-to-date when either the InteractionEvent or EndInteraction events are invoked. The user provides the vtkPolyData and the points and polyline are added to it.

Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.

Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.

Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set the position of spline handles and points in terms of a plane's position. i.e., if ProjectionNormal is 0, all of the x-coordinate values of the points are set to position. Any value can be passed (and is ignored) to update the spline points when Projection normal is set to 3 for arbritrary plane orientations.

Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.

virtual int Kitware.VTK.vtkSplineWidget.GetResolution ( ) [virtual]

Set/Get the number of line segments representing the spline for this widget.

Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.

Here is the call graph for this function:

Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.

Here is the call graph for this function:

Get the approximate vs. the true arc length of the spline. Calculated as the summed lengths of the individual straight line segments. Use SetResolution to control the accuracy.

Convenience method to allocate and set the handles from a vtkPoints instance. If the first and last points are the same, the spline sets Closed to the on state and disregards the last point, otherwise Closed remains unchanged.

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

Instantiate the object.

Reimplemented from Kitware.VTK.vtk3DWidget.

Convenience method to determine whether the spline is closed in a geometric sense. The widget may be set "closed" but still be geometrically open (e.g., a straight line).

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

Instantiate the object.

Reimplemented from Kitware.VTK.vtk3DWidget.

Instantiate the object.

Reimplemented from Kitware.VTK.vtkObject.

Instantiate the object.

Reimplemented from Kitware.VTK.vtk3DWidget.

override void Kitware.VTK.vtkSplineWidget.PlaceWidget ( IntPtr  bounds) [virtual]

Methods that satisfy the superclass' API.

Reimplemented from Kitware.VTK.vtk3DWidget.

override void Kitware.VTK.vtkSplineWidget.PlaceWidget ( ) [virtual]

Methods that satisfy the superclass' API.

Reimplemented from Kitware.VTK.vtk3DWidget.

override void Kitware.VTK.vtkSplineWidget.PlaceWidget ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
) [virtual]

Methods that satisfy the superclass' API.

Reimplemented from Kitware.VTK.vtk3DWidget.

Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.

virtual void Kitware.VTK.vtkSplineWidget.ProcessEventsOn ( ) [virtual]

Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.

Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.

Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.

Instantiate the object.

Reimplemented from Kitware.VTK.vtk3DWidget.

Here is the call graph for this function:

Control whether the spline is open or closed. A closed spline forms a continuous loop: the first and last points are the same, and derivatives are continuous. A minimum of 3 handles are required to form a closed loop. This method enforces consistency with user supplied subclasses of vtkSpline.

override void Kitware.VTK.vtkSplineWidget.SetEnabled ( int  arg0) [virtual]

Methods that satisfy the superclass' API.

Reimplemented from Kitware.VTK.vtkInteractorObserver.

void Kitware.VTK.vtkSplineWidget.SetHandlePosition ( int  handle,
double  x,
double  y,
double  z 
)

Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.

void Kitware.VTK.vtkSplineWidget.SetHandlePosition ( int  handle,
IntPtr  xyz 
)

Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.

Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.

virtual void Kitware.VTK.vtkSplineWidget.SetLineProperty ( vtkProperty  arg0) [virtual]

Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.

virtual void Kitware.VTK.vtkSplineWidget.SetNumberOfHandles ( int  npts) [virtual]

Set/Get the number of handles for this widget.

Set the parametric spline object. Through vtkParametricSpline's API, the user can supply and configure one of currently two types of spline: vtkCardinalSpline, vtkKochanekSpline. The widget controls the open or closed configuration of the spline. WARNING: The widget does not enforce internal consistency so that all three are of the same type.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

virtual void Kitware.VTK.vtkSplineWidget.SetProcessEvents ( int  _arg) [virtual]

Turn on / off event processing for this widget. If off, the widget will not respond to user interaction.

virtual void Kitware.VTK.vtkSplineWidget.SetProjectionNormal ( int  _arg) [virtual]

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.

Set the position of spline handles and points in terms of a plane's position. i.e., if ProjectionNormal is 0, all of the x-coordinate values of the points are set to position. Any value can be passed (and is ignored) to update the spline points when Projection normal is set to 3 for arbritrary plane orientations.

virtual void Kitware.VTK.vtkSplineWidget.SetProjectToPlane ( int  _arg) [virtual]

Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the state changes, a ModifiedEvent is invoked. This can be used to snap the spline to the plane if it is orginally not aligned. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively and 3 for arbitrary oblique planes when the widget is tied to a vtkPlaneSource.

Set/Get the number of line segments representing the spline for this widget.

Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.

Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.

static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_ClosedOff_01 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_ClosedOn_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetClosed_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetHandlePosition_04 ( HandleRef  pThis,
int  handle,
IntPtr  xyz 
) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetHandlePosition_05 ( HandleRef  pThis,
int  handle 
) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetHandleProperty_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetLineProperty_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetNumberOfHandles_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetParametricSpline_09 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetPolyData_10 ( HandleRef  pThis,
HandleRef  pd 
) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProcessEvents_11 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProcessEventsMaxValue_12 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProcessEventsMinValue_13 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProjectionNormal_15 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProjectionNormalMaxValue_16 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProjectionNormalMinValue_17 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProjectionPosition_18 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetProjectToPlane_14 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetResolution_19 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetSelectedHandleProperty_20 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetSelectedLineProperty_21 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkSplineWidget.vtkSplineWidget_GetSummedLength_22 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_InitializeHandles_23 ( HandleRef  pThis,
HandleRef  points 
) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_IsA_24 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_IsClosed_25 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSplineWidget.vtkSplineWidget_IsTypeOf_26 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_NewInstance_28 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_PlaceWidget_29 ( HandleRef  pThis,
IntPtr  bounds 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_PlaceWidget_30 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_PlaceWidget_31 ( HandleRef  pThis,
double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_ProcessEventsOff_32 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_ProcessEventsOn_33 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_ProjectToPlaneOff_34 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_ProjectToPlaneOn_35 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SafeDownCast_36 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetClosed_37 ( HandleRef  pThis,
int  closed 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetEnabled_38 ( HandleRef  pThis,
int  arg0 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetHandlePosition_39 ( HandleRef  pThis,
int  handle,
double  x,
double  y,
double  z 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetHandlePosition_40 ( HandleRef  pThis,
int  handle,
IntPtr  xyz 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetHandleProperty_41 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetLineProperty_42 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetNumberOfHandles_43 ( HandleRef  pThis,
int  npts 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetParametricSpline_44 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetPlaneSource_45 ( HandleRef  pThis,
HandleRef  plane 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProcessEvents_46 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectionNormal_48 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectionNormalToOblique_49 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectionNormalToXAxes_50 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectionNormalToYAxes_51 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectionNormalToZAxes_52 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectionPosition_53 ( HandleRef  pThis,
double  position 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetProjectToPlane_47 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetResolution_54 ( HandleRef  pThis,
int  resolution 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetSelectedHandleProperty_55 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSplineWidget.vtkSplineWidget_SetSelectedLineProperty_56 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkSplineWidget.MRClassNameKey = "15vtkSplineWidget" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtk3DWidget.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtk3DWidget.


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