ActiViz .NET
5.8.0
|
vtkSplineRepresentation - vtkWidgetRepresentation for a spline. More...
Public Types | |
enum | _InteractionState { Erasing = 7, Inserting = 6, Moving = 3, OnHandle = 1, OnLine = 2, Outside = 0, Scaling = 4, Spinning = 5 } |
Undocumented Block. More... | |
Public Member Functions | |
vtkSplineRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkSplineRepresentation () | |
Undocumented Block. | |
override void | BuildRepresentation () |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified. | |
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. | |
override int | ComputeInteractionState (int X, int Y, int modify) |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified. | |
override void | EndWidgetInteraction (IntPtr e) |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified. | |
override double[] | GetBounds () |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified. | |
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. | |
IntPtr | GetHandlePosition (int handle) |
Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices. | |
vtkDoubleArray | GetHandlePositions () |
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 | GetProjectToPlane () |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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. | |
override int | HasTranslucentPolygonalGeometry () |
Methods supporting, and required by, the rendering process. | |
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 InteractionState and disregards the last point, otherwise Closed remains unchanged. | |
override int | IsA (string type) |
Undocumented Block. | |
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 vtkSplineRepresentation | NewInstance () |
Undocumented Block. | |
virtual void | ProjectToPlaneOff () |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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 InteractionState 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. | |
override void | ReleaseGraphicsResources (vtkWindow arg0) |
Methods supporting, and required by, the rendering process. | |
override int | RenderOpaqueGeometry (vtkViewport arg0) |
Methods supporting, and required by, the rendering process. | |
override int | RenderOverlay (vtkViewport arg0) |
Methods supporting, and required by, the rendering process. | |
override int | RenderTranslucentPolygonalGeometry (vtkViewport arg0) |
Methods supporting, and required by, the rendering process. | |
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. | |
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 | SetInteractionState (int _arg) |
Undocumented Block. | |
void | SetLineColor (double r, double g, double b) |
Convenience method to set the line color. Ideally one should use GetLineProperty()->SetColor(). | |
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 | SetProjectToPlane (int _arg) |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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. | |
override void | StartWidgetInteraction (IntPtr e) |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified. | |
override void | WidgetInteraction (IntPtr e) |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified. | |
Static Public Member Functions | |
static new vtkSplineRepresentation | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkSplineRepresentation | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkSplineRepresentation" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "23vtkSplineRepresentation" |
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 | vtkSplineRepresentation_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSplineRepresentation_BuildRepresentation_01 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_ClosedOff_02 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_ClosedOn_03 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_ComputeInteractionState_04 (HandleRef pThis, int X, int Y, int modify) |
static internal void | vtkSplineRepresentation_EndWidgetInteraction_05 (HandleRef pThis, IntPtr e) |
static internal IntPtr | vtkSplineRepresentation_GetBounds_06 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_GetClosed_07 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_GetHandlePosition_08 (HandleRef pThis, int handle, IntPtr xyz) |
static internal IntPtr | vtkSplineRepresentation_GetHandlePosition_09 (HandleRef pThis, int handle) |
static internal IntPtr | vtkSplineRepresentation_GetHandlePositions_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkSplineRepresentation_GetHandleProperty_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkSplineRepresentation_GetLineProperty_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkSplineRepresentation_GetNumberOfHandles_13 (HandleRef pThis) |
static internal IntPtr | vtkSplineRepresentation_GetParametricSpline_14 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSplineRepresentation_GetPolyData_15 (HandleRef pThis, HandleRef pd) |
static internal int | vtkSplineRepresentation_GetProjectToPlane_16 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_GetProjectionNormal_17 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_GetProjectionNormalMaxValue_18 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_GetProjectionNormalMinValue_19 (HandleRef pThis) |
static internal double | vtkSplineRepresentation_GetProjectionPosition_20 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_GetResolution_21 (HandleRef pThis) |
static internal IntPtr | vtkSplineRepresentation_GetSelectedHandleProperty_22 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkSplineRepresentation_GetSelectedLineProperty_23 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal double | vtkSplineRepresentation_GetSummedLength_24 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_HasTranslucentPolygonalGeometry_25 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_InitializeHandles_26 (HandleRef pThis, HandleRef points) |
static internal int | vtkSplineRepresentation_IsA_27 (HandleRef pThis, string type) |
static internal int | vtkSplineRepresentation_IsClosed_28 (HandleRef pThis) |
static internal int | vtkSplineRepresentation_IsTypeOf_29 (string type) |
static internal IntPtr | vtkSplineRepresentation_NewInstance_31 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSplineRepresentation_ProjectToPlaneOff_32 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_ProjectToPlaneOn_33 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_ReleaseGraphicsResources_34 (HandleRef pThis, HandleRef arg0) |
static internal int | vtkSplineRepresentation_RenderOpaqueGeometry_35 (HandleRef pThis, HandleRef arg0) |
static internal int | vtkSplineRepresentation_RenderOverlay_36 (HandleRef pThis, HandleRef arg0) |
static internal int | vtkSplineRepresentation_RenderTranslucentPolygonalGeometry_37 (HandleRef pThis, HandleRef arg0) |
static internal IntPtr | vtkSplineRepresentation_SafeDownCast_38 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSplineRepresentation_SetClosed_39 (HandleRef pThis, int closed) |
static internal void | vtkSplineRepresentation_SetHandlePosition_40 (HandleRef pThis, int handle, double x, double y, double z) |
static internal void | vtkSplineRepresentation_SetHandlePosition_41 (HandleRef pThis, int handle, IntPtr xyz) |
static internal void | vtkSplineRepresentation_SetInteractionState_42 (HandleRef pThis, int _arg) |
static internal void | vtkSplineRepresentation_SetLineColor_43 (HandleRef pThis, double r, double g, double b) |
static internal void | vtkSplineRepresentation_SetNumberOfHandles_44 (HandleRef pThis, int npts) |
static internal void | vtkSplineRepresentation_SetParametricSpline_45 (HandleRef pThis, HandleRef arg0) |
static internal void | vtkSplineRepresentation_SetPlaneSource_46 (HandleRef pThis, HandleRef plane) |
static internal void | vtkSplineRepresentation_SetProjectToPlane_47 (HandleRef pThis, int _arg) |
static internal void | vtkSplineRepresentation_SetProjectionNormal_48 (HandleRef pThis, int _arg) |
static internal void | vtkSplineRepresentation_SetProjectionNormalToOblique_49 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_SetProjectionNormalToXAxes_50 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_SetProjectionNormalToYAxes_51 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_SetProjectionNormalToZAxes_52 (HandleRef pThis) |
static internal void | vtkSplineRepresentation_SetProjectionPosition_53 (HandleRef pThis, double position) |
static internal void | vtkSplineRepresentation_SetResolution_54 (HandleRef pThis, int resolution) |
static internal void | vtkSplineRepresentation_StartWidgetInteraction_55 (HandleRef pThis, IntPtr e) |
static internal void | vtkSplineRepresentation_WidgetInteraction_56 (HandleRef pThis, IntPtr e) |
Static Private Member Functions | |
static | vtkSplineRepresentation () |
Automatically generated type registration mechanics. |
vtkSplineRepresentation - vtkWidgetRepresentation for a spline.
Description vtkSplineRepresentation is a vtkWidgetRepresentation for a spline. 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. This is based on vtkSplineWidget.
static Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkSplineRepresentation.BuildRepresentation | ( | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
virtual void Kitware.VTK.vtkSplineRepresentation.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.vtkSplineRepresentation.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 int Kitware.VTK.vtkSplineRepresentation.ComputeInteractionState | ( | int | X, |
int | Y, | ||
int | modify | ||
) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
override void Kitware.VTK.vtkSplineRepresentation.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.vtkWidgetRepresentation.
override void Kitware.VTK.vtkSplineRepresentation.EndWidgetInteraction | ( | IntPtr | e | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
override double [] Kitware.VTK.vtkSplineRepresentation.GetBounds | ( | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
virtual int Kitware.VTK.vtkSplineRepresentation.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.vtkSplineRepresentation.GetHandlePosition | ( | int | handle, |
IntPtr | xyz | ||
) |
Set/Get the position of the spline handles. Call GetNumberOfHandles to determine the valid range of handle indices.
IntPtr Kitware.VTK.vtkSplineRepresentation.GetHandlePosition | ( | int | handle | ) |
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.
virtual vtkProperty Kitware.VTK.vtkSplineRepresentation.GetHandleProperty | ( | ) | [virtual] |
Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.
virtual vtkProperty Kitware.VTK.vtkSplineRepresentation.GetLineProperty | ( | ) | [virtual] |
Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.
virtual int Kitware.VTK.vtkSplineRepresentation.GetNumberOfHandles | ( | ) | [virtual] |
Set/Get the number of handles for this widget.
virtual vtkParametricSpline Kitware.VTK.vtkSplineRepresentation.GetParametricSpline | ( | ) | [virtual] |
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.
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 Kitware.VTK.vtkSplineRepresentation.GetProjectionNormal | ( | ) | [virtual] |
Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual int Kitware.VTK.vtkSplineRepresentation.GetProjectionNormalMaxValue | ( | ) | [virtual] |
Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual int Kitware.VTK.vtkSplineRepresentation.GetProjectionNormalMinValue | ( | ) | [virtual] |
Set up a reference to a vtkPlaneSource that could be from another widget object, e.g. a vtkPolyDataSourceWidget.
virtual double Kitware.VTK.vtkSplineRepresentation.GetProjectionPosition | ( | ) | [virtual] |
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 Kitware.VTK.vtkSplineRepresentation.GetProjectToPlane | ( | ) | [virtual] |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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.vtkSplineRepresentation.GetResolution | ( | ) | [virtual] |
Set/Get the number of line segments representing the spline for this widget.
virtual vtkProperty Kitware.VTK.vtkSplineRepresentation.GetSelectedHandleProperty | ( | ) | [virtual] |
Set/Get the handle properties (the spheres are the handles). The properties of the handles when selected and unselected can be manipulated.
virtual vtkProperty Kitware.VTK.vtkSplineRepresentation.GetSelectedLineProperty | ( | ) | [virtual] |
Set/Get the line properties. The properties of the line when selected and unselected can be manipulated.
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.
override int Kitware.VTK.vtkSplineRepresentation.HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Methods supporting, and required by, the rendering process.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
void Kitware.VTK.vtkSplineRepresentation.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 InteractionState and disregards the last point, otherwise Closed remains unchanged.
override int Kitware.VTK.vtkSplineRepresentation.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
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.vtkSplineRepresentation.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
static new vtkSplineRepresentation Kitware.VTK.vtkSplineRepresentation.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
virtual void Kitware.VTK.vtkSplineRepresentation.ProjectToPlaneOff | ( | ) | [virtual] |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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 Kitware.VTK.vtkSplineRepresentation.ProjectToPlaneOn | ( | ) | [virtual] |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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.
override void Kitware.VTK.vtkSplineRepresentation.ReleaseGraphicsResources | ( | vtkWindow | arg0 | ) | [virtual] |
Methods supporting, and required by, the rendering process.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
override int Kitware.VTK.vtkSplineRepresentation.RenderOpaqueGeometry | ( | vtkViewport | arg0 | ) | [virtual] |
Methods supporting, and required by, the rendering process.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
override int Kitware.VTK.vtkSplineRepresentation.RenderOverlay | ( | vtkViewport | arg0 | ) | [virtual] |
Methods supporting, and required by, the rendering process.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
override int Kitware.VTK.vtkSplineRepresentation.RenderTranslucentPolygonalGeometry | ( | vtkViewport | arg0 | ) | [virtual] |
Methods supporting, and required by, the rendering process.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
static new vtkSplineRepresentation Kitware.VTK.vtkSplineRepresentation.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
void Kitware.VTK.vtkSplineRepresentation.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.
void Kitware.VTK.vtkSplineRepresentation.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.vtkSplineRepresentation.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 Kitware.VTK.vtkSplineRepresentation.SetInteractionState | ( | int | _arg | ) | [virtual] |
Undocumented Block.
void Kitware.VTK.vtkSplineRepresentation.SetLineColor | ( | double | r, |
double | g, | ||
double | b | ||
) |
Convenience method to set the line color. Ideally one should use GetLineProperty()->SetColor().
virtual void Kitware.VTK.vtkSplineRepresentation.SetNumberOfHandles | ( | int | npts | ) | [virtual] |
Set/Get the number of handles for this widget.
virtual void Kitware.VTK.vtkSplineRepresentation.SetParametricSpline | ( | vtkParametricSpline | arg0 | ) | [virtual] |
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.vtkSplineRepresentation.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.
void Kitware.VTK.vtkSplineRepresentation.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.
virtual void Kitware.VTK.vtkSplineRepresentation.SetProjectToPlane | ( | int | _arg | ) | [virtual] |
Force the spline widget to be projected onto one of the orthogonal planes. Remember that when the InteractionState 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 Kitware.VTK.vtkSplineRepresentation.SetResolution | ( | int | resolution | ) |
Set/Get the number of line segments representing the spline for this widget.
override void Kitware.VTK.vtkSplineRepresentation.StartWidgetInteraction | ( | IntPtr | e | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_BuildRepresentation_01 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_ClosedOff_02 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_ClosedOn_03 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_ComputeInteractionState_04 | ( | HandleRef | pThis, |
int | X, | ||
int | Y, | ||
int | modify | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_EndWidgetInteraction_05 | ( | HandleRef | pThis, |
IntPtr | e | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetBounds_06 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetClosed_07 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetHandlePosition_08 | ( | HandleRef | pThis, |
int | handle, | ||
IntPtr | xyz | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetHandlePosition_09 | ( | HandleRef | pThis, |
int | handle | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetHandlePositions_10 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetHandleProperty_11 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetLineProperty_12 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetNumberOfHandles_13 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetParametricSpline_14 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetPolyData_15 | ( | HandleRef | pThis, |
HandleRef | pd | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetProjectionNormal_17 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetProjectionNormalMaxValue_18 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetProjectionNormalMinValue_19 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetProjectionPosition_20 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetProjectToPlane_16 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetResolution_21 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetSelectedHandleProperty_22 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetSelectedLineProperty_23 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal double Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_GetSummedLength_24 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_HasTranslucentPolygonalGeometry_25 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_InitializeHandles_26 | ( | HandleRef | pThis, |
HandleRef | points | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_IsA_27 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_IsClosed_28 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_IsTypeOf_29 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_NewInstance_31 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_ProjectToPlaneOff_32 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_ProjectToPlaneOn_33 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_ReleaseGraphicsResources_34 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_RenderOpaqueGeometry_35 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_RenderOverlay_36 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal int Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_RenderTranslucentPolygonalGeometry_37 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SafeDownCast_38 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetClosed_39 | ( | HandleRef | pThis, |
int | closed | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetHandlePosition_40 | ( | HandleRef | pThis, |
int | handle, | ||
double | x, | ||
double | y, | ||
double | z | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetHandlePosition_41 | ( | HandleRef | pThis, |
int | handle, | ||
IntPtr | xyz | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetInteractionState_42 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetLineColor_43 | ( | HandleRef | pThis, |
double | r, | ||
double | g, | ||
double | b | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetNumberOfHandles_44 | ( | HandleRef | pThis, |
int | npts | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetParametricSpline_45 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetPlaneSource_46 | ( | HandleRef | pThis, |
HandleRef | plane | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectionNormal_48 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectionNormalToOblique_49 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectionNormalToXAxes_50 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectionNormalToYAxes_51 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectionNormalToZAxes_52 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectionPosition_53 | ( | HandleRef | pThis, |
double | position | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetProjectToPlane_47 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_SetResolution_54 | ( | HandleRef | pThis, |
int | resolution | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_StartWidgetInteraction_55 | ( | HandleRef | pThis, |
IntPtr | e | ||
) | [private] |
static internal void Kitware.VTK.vtkSplineRepresentation.vtkSplineRepresentation_WidgetInteraction_56 | ( | HandleRef | pThis, |
IntPtr | e | ||
) | [private] |
override void Kitware.VTK.vtkSplineRepresentation.WidgetInteraction | ( | IntPtr | e | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
new readonly string Kitware.VTK.vtkSplineRepresentation.MRClassNameKey = "23vtkSplineRepresentation" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
new const string Kitware.VTK.vtkSplineRepresentation.MRFullTypeName = "Kitware.VTK.vtkSplineRepresentation" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.