ActiViz .NET
5.8.0
|
vtkDistanceRepresentation - represent the vtkDistanceWidget More...
Public Types | |
enum | NearP1_WrapperEnum { NearP1 = 1, NearP2 = 2, Outside = 0 } |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off. More... | |
Public Member Functions | |
vtkDistanceRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
override void | BuildRepresentation () |
These are methods that satisfy vtkWidgetRepresentation's API. | |
override int | ComputeInteractionState (int X, int Y, int modify) |
These are methods that satisfy vtkWidgetRepresentation's API. | |
virtual double | GetDistance () |
This representation and all subclasses must keep a distance consistent with the state of the widget. | |
virtual string | GetLabelFormat () |
Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the distance value. | |
virtual int | GetNumberOfRulerTicks () |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off. | |
virtual int | GetNumberOfRulerTicksMaxValue () |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off. | |
virtual int | GetNumberOfRulerTicksMinValue () |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off. | |
virtual void | GetPoint1DisplayPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual vtkHandleRepresentation | GetPoint1Representation () |
Set/Get the two handle representations used for the vtkDistanceWidget. (Note: properties can be set by grabbing these representations and setting the properties appropriately.) | |
virtual void | GetPoint1WorldPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual double[] | GetPoint1WorldPosition () |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual void | GetPoint2DisplayPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual vtkHandleRepresentation | GetPoint2Representation () |
Set/Get the two handle representations used for the vtkDistanceWidget. (Note: properties can be set by grabbing these representations and setting the properties appropriately.) | |
virtual void | GetPoint2WorldPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual double[] | GetPoint2WorldPosition () |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual double | GetRulerDistance () |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on. | |
virtual double | GetRulerDistanceMaxValue () |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on. | |
virtual double | GetRulerDistanceMinValue () |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on. | |
virtual int | GetRulerMode () |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks. | |
virtual int | GetTolerance () |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active. | |
virtual int | GetToleranceMaxValue () |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active. | |
virtual int | GetToleranceMinValue () |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active. | |
void | InstantiateHandleRepresentation () |
This method is used to specify the type of handle representation to use for the two internal vtkHandleWidgets within vtkDistanceWidget. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkDistanceRepresentation uses this dummy to clone two vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkDistance widget.) | |
override int | IsA (string type) |
Standard VTK methods. | |
new vtkDistanceRepresentation | NewInstance () |
Standard VTK methods. | |
virtual void | RulerModeOff () |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks. | |
virtual void | RulerModeOn () |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks. | |
void | SetHandleRepresentation (vtkHandleRepresentation handle) |
This method is used to specify the type of handle representation to use for the two internal vtkHandleWidgets within vtkDistanceWidget. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkDistanceRepresentation uses this dummy to clone two vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkDistance widget.) | |
virtual void | SetLabelFormat (string _arg) |
Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the distance value. | |
virtual void | SetNumberOfRulerTicks (int _arg) |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off. | |
virtual void | SetPoint1DisplayPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual void | SetPoint1WorldPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual void | SetPoint2DisplayPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual void | SetPoint2WorldPosition (IntPtr pos) |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates. | |
virtual void | SetRulerDistance (double _arg) |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on. | |
virtual void | SetRulerMode (int _arg) |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks. | |
virtual void | SetTolerance (int _arg) |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active. | |
override void | StartWidgetInteraction (IntPtr e) |
These are methods that satisfy vtkWidgetRepresentation's API. | |
override void | WidgetInteraction (IntPtr e) |
These are methods that satisfy vtkWidgetRepresentation's API. | |
Static Public Member Functions | |
static new int | IsTypeOf (string type) |
Standard VTK methods. | |
static new vtkDistanceRepresentation | SafeDownCast (vtkObjectBase o) |
Standard VTK methods. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkDistanceRepresentation" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "25vtkDistanceRepresentation" |
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 | vtkDistanceRepresentation_BuildRepresentation_01 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_ComputeInteractionState_02 (HandleRef pThis, int X, int Y, int modify) |
static internal double | vtkDistanceRepresentation_GetDistance_03 (HandleRef pThis) |
static internal IntPtr | vtkDistanceRepresentation_GetLabelFormat_04 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetNumberOfRulerTicks_05 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetNumberOfRulerTicksMaxValue_06 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetNumberOfRulerTicksMinValue_07 (HandleRef pThis) |
static internal void | vtkDistanceRepresentation_GetPoint1DisplayPosition_08 (HandleRef pThis, IntPtr pos) |
static internal IntPtr | vtkDistanceRepresentation_GetPoint1Representation_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkDistanceRepresentation_GetPoint1WorldPosition_10 (HandleRef pThis, IntPtr pos) |
static internal IntPtr | vtkDistanceRepresentation_GetPoint1WorldPosition_11 (HandleRef pThis) |
static internal void | vtkDistanceRepresentation_GetPoint2DisplayPosition_12 (HandleRef pThis, IntPtr pos) |
static internal IntPtr | vtkDistanceRepresentation_GetPoint2Representation_13 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkDistanceRepresentation_GetPoint2WorldPosition_14 (HandleRef pThis, IntPtr pos) |
static internal IntPtr | vtkDistanceRepresentation_GetPoint2WorldPosition_15 (HandleRef pThis) |
static internal double | vtkDistanceRepresentation_GetRulerDistance_16 (HandleRef pThis) |
static internal double | vtkDistanceRepresentation_GetRulerDistanceMaxValue_17 (HandleRef pThis) |
static internal double | vtkDistanceRepresentation_GetRulerDistanceMinValue_18 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetRulerMode_19 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetTolerance_20 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetToleranceMaxValue_21 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_GetToleranceMinValue_22 (HandleRef pThis) |
static internal void | vtkDistanceRepresentation_InstantiateHandleRepresentation_23 (HandleRef pThis) |
static internal int | vtkDistanceRepresentation_IsA_24 (HandleRef pThis, string type) |
static internal int | vtkDistanceRepresentation_IsTypeOf_25 (string type) |
static internal IntPtr | vtkDistanceRepresentation_NewInstance_26 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkDistanceRepresentation_RulerModeOff_27 (HandleRef pThis) |
static internal void | vtkDistanceRepresentation_RulerModeOn_28 (HandleRef pThis) |
static internal IntPtr | vtkDistanceRepresentation_SafeDownCast_29 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkDistanceRepresentation_SetHandleRepresentation_30 (HandleRef pThis, HandleRef handle) |
static internal void | vtkDistanceRepresentation_SetLabelFormat_31 (HandleRef pThis, string _arg) |
static internal void | vtkDistanceRepresentation_SetNumberOfRulerTicks_32 (HandleRef pThis, int _arg) |
static internal void | vtkDistanceRepresentation_SetPoint1DisplayPosition_33 (HandleRef pThis, IntPtr pos) |
static internal void | vtkDistanceRepresentation_SetPoint1WorldPosition_34 (HandleRef pThis, IntPtr pos) |
static internal void | vtkDistanceRepresentation_SetPoint2DisplayPosition_35 (HandleRef pThis, IntPtr pos) |
static internal void | vtkDistanceRepresentation_SetPoint2WorldPosition_36 (HandleRef pThis, IntPtr pos) |
static internal void | vtkDistanceRepresentation_SetRulerDistance_37 (HandleRef pThis, double _arg) |
static internal void | vtkDistanceRepresentation_SetRulerMode_38 (HandleRef pThis, int _arg) |
static internal void | vtkDistanceRepresentation_SetTolerance_39 (HandleRef pThis, int _arg) |
static internal void | vtkDistanceRepresentation_StartWidgetInteraction_40 (HandleRef pThis, IntPtr e) |
static internal void | vtkDistanceRepresentation_WidgetInteraction_41 (HandleRef pThis, IntPtr e) |
Static Private Member Functions | |
static | vtkDistanceRepresentation () |
Automatically generated type registration mechanics. |
vtkDistanceRepresentation - represent the vtkDistanceWidget
Description The vtkDistanceRepresentation is a superclass for various types of representations for the vtkDistanceWidget. Logically subclasses consist of an axis and two handles for placing/manipulating the end points.
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off.
static Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
override void Kitware.VTK.vtkDistanceRepresentation.BuildRepresentation | ( | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation2D, and Kitware.VTK.vtkDistanceRepresentation3D.
override int Kitware.VTK.vtkDistanceRepresentation.ComputeInteractionState | ( | int | X, |
int | Y, | ||
int | modify | ||
) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
override void Kitware.VTK.vtkDistanceRepresentation.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.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation2D, and Kitware.VTK.vtkDistanceRepresentation3D.
virtual double Kitware.VTK.vtkDistanceRepresentation.GetDistance | ( | ) | [virtual] |
This representation and all subclasses must keep a distance consistent with the state of the widget.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation2D, and Kitware.VTK.vtkDistanceRepresentation3D.
virtual string Kitware.VTK.vtkDistanceRepresentation.GetLabelFormat | ( | ) | [virtual] |
Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the distance value.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetNumberOfRulerTicks | ( | ) | [virtual] |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetNumberOfRulerTicksMaxValue | ( | ) | [virtual] |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetNumberOfRulerTicksMinValue | ( | ) | [virtual] |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off.
virtual void Kitware.VTK.vtkDistanceRepresentation.GetPoint1DisplayPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual vtkHandleRepresentation Kitware.VTK.vtkDistanceRepresentation.GetPoint1Representation | ( | ) | [virtual] |
Set/Get the two handle representations used for the vtkDistanceWidget. (Note: properties can be set by grabbing these representations and setting the properties appropriately.)
virtual void Kitware.VTK.vtkDistanceRepresentation.GetPoint1WorldPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual double [] Kitware.VTK.vtkDistanceRepresentation.GetPoint1WorldPosition | ( | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual void Kitware.VTK.vtkDistanceRepresentation.GetPoint2DisplayPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual vtkHandleRepresentation Kitware.VTK.vtkDistanceRepresentation.GetPoint2Representation | ( | ) | [virtual] |
Set/Get the two handle representations used for the vtkDistanceWidget. (Note: properties can be set by grabbing these representations and setting the properties appropriately.)
virtual void Kitware.VTK.vtkDistanceRepresentation.GetPoint2WorldPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual double [] Kitware.VTK.vtkDistanceRepresentation.GetPoint2WorldPosition | ( | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual double Kitware.VTK.vtkDistanceRepresentation.GetRulerDistance | ( | ) | [virtual] |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on.
virtual double Kitware.VTK.vtkDistanceRepresentation.GetRulerDistanceMaxValue | ( | ) | [virtual] |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on.
virtual double Kitware.VTK.vtkDistanceRepresentation.GetRulerDistanceMinValue | ( | ) | [virtual] |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetRulerMode | ( | ) | [virtual] |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetTolerance | ( | ) | [virtual] |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetToleranceMaxValue | ( | ) | [virtual] |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active.
virtual int Kitware.VTK.vtkDistanceRepresentation.GetToleranceMinValue | ( | ) | [virtual] |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active.
This method is used to specify the type of handle representation to use for the two internal vtkHandleWidgets within vtkDistanceWidget. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkDistanceRepresentation uses this dummy to clone two vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkDistance widget.)
override int Kitware.VTK.vtkDistanceRepresentation.IsA | ( | string | type | ) | [virtual] |
Standard VTK methods.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
static new int Kitware.VTK.vtkDistanceRepresentation.IsTypeOf | ( | string | type | ) | [static] |
Standard VTK methods.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
Standard VTK methods.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual void Kitware.VTK.vtkDistanceRepresentation.RulerModeOff | ( | ) | [virtual] |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks.
virtual void Kitware.VTK.vtkDistanceRepresentation.RulerModeOn | ( | ) | [virtual] |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks.
static new vtkDistanceRepresentation Kitware.VTK.vtkDistanceRepresentation.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Standard VTK methods.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
void Kitware.VTK.vtkDistanceRepresentation.SetHandleRepresentation | ( | vtkHandleRepresentation | handle | ) |
This method is used to specify the type of handle representation to use for the two internal vtkHandleWidgets within vtkDistanceWidget. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkDistanceRepresentation uses this dummy to clone two vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkDistance widget.)
virtual void Kitware.VTK.vtkDistanceRepresentation.SetLabelFormat | ( | string | _arg | ) | [virtual] |
Specify the format to use for labelling the distance. Note that an empty string results in no label, or a format string without a "%" character will not print the distance value.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetNumberOfRulerTicks | ( | int | _arg | ) | [virtual] |
Specify the number of major ruler ticks. This overrides any subclasses (e.g., vtkDistanceRepresentation2D) that have alternative methods to specify the number of major ticks. Note: the number of ticks is the number inbetween the two handle endpoints. This ivar only has effect when the RulerMode is off.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetPoint1DisplayPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetPoint1WorldPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetPoint2DisplayPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetPoint2WorldPosition | ( | IntPtr | pos | ) | [virtual] |
Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation3D, and Kitware.VTK.vtkDistanceRepresentation2D.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetRulerDistance | ( | double | _arg | ) | [virtual] |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetRulerMode | ( | int | _arg | ) | [virtual] |
Enable or disable ruler mode. When enabled, the ticks on the distance widget are separated by the amount specified by RulerDistance. Otherwise, the ivar NumberOfRulerTicks is used to draw the tick marks.
virtual void Kitware.VTK.vtkDistanceRepresentation.SetTolerance | ( | int | _arg | ) | [virtual] |
The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the end points of the widget to be active.
override void Kitware.VTK.vtkDistanceRepresentation.StartWidgetInteraction | ( | IntPtr | e | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_BuildRepresentation_01 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_ComputeInteractionState_02 | ( | HandleRef | pThis, |
int | X, | ||
int | Y, | ||
int | modify | ||
) | [private] |
static internal double Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetDistance_03 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetLabelFormat_04 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetNumberOfRulerTicks_05 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetNumberOfRulerTicksMaxValue_06 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetNumberOfRulerTicksMinValue_07 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint1DisplayPosition_08 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint1Representation_09 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint1WorldPosition_10 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint1WorldPosition_11 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint2DisplayPosition_12 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint2Representation_13 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint2WorldPosition_14 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetPoint2WorldPosition_15 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetRulerDistance_16 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetRulerDistanceMaxValue_17 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetRulerDistanceMinValue_18 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetRulerMode_19 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetTolerance_20 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetToleranceMaxValue_21 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_GetToleranceMinValue_22 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_InstantiateHandleRepresentation_23 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_IsA_24 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_IsTypeOf_25 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_NewInstance_26 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_RulerModeOff_27 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_RulerModeOn_28 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SafeDownCast_29 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetHandleRepresentation_30 | ( | HandleRef | pThis, |
HandleRef | handle | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetLabelFormat_31 | ( | HandleRef | pThis, |
string | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetNumberOfRulerTicks_32 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetPoint1DisplayPosition_33 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetPoint1WorldPosition_34 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetPoint2DisplayPosition_35 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetPoint2WorldPosition_36 | ( | HandleRef | pThis, |
IntPtr | pos | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetRulerDistance_37 | ( | HandleRef | pThis, |
double | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetRulerMode_38 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_SetTolerance_39 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_StartWidgetInteraction_40 | ( | HandleRef | pThis, |
IntPtr | e | ||
) | [private] |
static internal void Kitware.VTK.vtkDistanceRepresentation.vtkDistanceRepresentation_WidgetInteraction_41 | ( | HandleRef | pThis, |
IntPtr | e | ||
) | [private] |
override void Kitware.VTK.vtkDistanceRepresentation.WidgetInteraction | ( | IntPtr | e | ) | [virtual] |
These are methods that satisfy vtkWidgetRepresentation's API.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
new readonly string Kitware.VTK.vtkDistanceRepresentation.MRClassNameKey = "25vtkDistanceRepresentation" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation2D, and Kitware.VTK.vtkDistanceRepresentation3D.
new const string Kitware.VTK.vtkDistanceRepresentation.MRFullTypeName = "Kitware.VTK.vtkDistanceRepresentation" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkWidgetRepresentation.
Reimplemented in Kitware.VTK.vtkDistanceRepresentation2D, and Kitware.VTK.vtkDistanceRepresentation3D.