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

vtkLineRepresentation - a class defining the representation for a vtkLineWidget2 More...

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

List of all members.

Public Types

enum  OnLine_WrapperEnum {
  OnLine = 5, OnP1 = 1, OnP2 = 2, Outside = 0,
  Scaling = 6, TranslatingP1 = 3, TranslatingP2 = 4
}
 Methods supporting the rendering process. More...

Public Member Functions

 vtkLineRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkLineRepresentation ()
 Instantiate the class.
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 void DistanceAnnotationVisibilityOff ()
 Show the distance between the points.
virtual void DistanceAnnotationVisibilityOn ()
 Show the distance between the points.
override void GetActors (vtkPropCollection pc)
 Methods supporting the rendering process.
override double[] GetBounds ()
 These are methods that satisfy vtkWidgetRepresentation's API.
double GetDistance ()
 Get the distance between the points.
virtual string GetDistanceAnnotationFormat ()
 Specify the format to use for labelling the line. Note that an empty string results in no label, or a format string without a "%" character will not print the angle value.
virtual vtkProperty GetDistanceAnnotationProperty ()
 Get the distance annotation property.
virtual IntPtr GetDistanceAnnotationScale ()
 Scale text (font size along each dimension).
virtual int GetDistanceAnnotationVisibility ()
 Show the distance between the points.
virtual vtkProperty GetEndPoint2Property ()
 Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.
virtual vtkProperty GetEndPointProperty ()
 Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.
virtual int GetInteractionStateMaxValue ()
 The interaction state may be set from a widget (e.g., vtkLineWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
virtual int GetInteractionStateMinValue ()
 The interaction state may be set from a widget (e.g., vtkLineWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
virtual
vtkPointHandleRepresentation3D 
GetLineHandleRepresentation ()
 Get the three handle representations used for the vtkLineWidget2.
virtual vtkProperty GetLineProperty ()
 Get the line properties. The properties of the line when selected and unselected can be manipulated.
override uint GetMTime ()
 Overload the superclasses' GetMTime() because internal classes are used to keep the state of the representation.
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.
double[] GetPoint1DisplayPosition ()
 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
vtkPointHandleRepresentation3D 
GetPoint1Representation ()
 Get the three handle representations used for the vtkLineWidget2.
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.
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.
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.
double[] GetPoint2DisplayPosition ()
 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
vtkPointHandleRepresentation3D 
GetPoint2Representation ()
 Get the three handle representations used for the vtkLineWidget2.
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.
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.
void GetPolyData (vtkPolyData pd)
 Retrieve the polydata (including points) that defines the line. The polydata consists of n+1 points, where n is the resolution of the line. These point values are guaranteed to be up-to-date whenever any one of the three handles are moved. To use this method, the user provides the vtkPolyData as an input argument, and the points and polyline are copied into it.
virtual int GetRepresentationState ()
 Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.
int GetResolution ()
 Set/Get the resolution (number of subdivisions) of the line. A line with resolution greater than one is useful when points along the line are desired; e.g., generating a rake of streamlines.
virtual vtkProperty GetSelectedEndPoint2Property ()
 Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.
virtual vtkProperty GetSelectedEndPointProperty ()
 Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.
virtual vtkProperty GetSelectedLineProperty ()
 Get the line properties. The properties of the line when selected and unselected can be manipulated.
virtual vtkFollower GetTextActor ()
 Get the text actor.
virtual int GetTolerance ()
 The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the line or end point 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 line or end point 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 line or end point to be active.
override int HasTranslucentPolygonalGeometry ()
 Methods supporting the rendering process.
void InstantiateHandleRepresentation ()
 This method is used to specify the type of handle representation to use for the three internal vtkHandleWidgets within vtkLineWidget2. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkLineRepresentation uses this dummy to clone three vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkLineWidget2.)
override int IsA (string type)
 Standard methods for the class.
new vtkLineRepresentation NewInstance ()
 Standard methods for the class.
override void PlaceWidget (IntPtr bounds)
 These are methods that satisfy vtkWidgetRepresentation's API.
override void ReleaseGraphicsResources (vtkWindow arg0)
 Methods supporting the rendering process.
override int RenderOpaqueGeometry (vtkViewport arg0)
 Methods supporting the rendering process.
override int RenderTranslucentPolygonalGeometry (vtkViewport arg0)
 Methods supporting the rendering process.
virtual void SetDistanceAnnotationFormat (string _arg)
 Specify the format to use for labelling the line. Note that an empty string results in no label, or a format string without a "%" character will not print the angle value.
void SetDistanceAnnotationScale (double x, double y, double z)
 Scale text (font size along each dimension).
virtual void SetDistanceAnnotationScale (IntPtr scale)
 Scale text (font size along each dimension).
virtual void SetDistanceAnnotationVisibility (int _arg)
 Show the distance between the points.
void SetHandleRepresentation (vtkPointHandleRepresentation3D handle)
 This method is used to specify the type of handle representation to use for the three internal vtkHandleWidgets within vtkLineWidget2. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkLineRepresentation uses this dummy to clone three vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkLineWidget2.)
virtual void SetInteractionState (int _arg)
 The interaction state may be set from a widget (e.g., vtkLineWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
void SetLineColor (double r, double g, double b)
 Convenience method to set the line color. Ideally one should use GetLineProperty()->SetColor().
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.
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.
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.
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.
override void SetRenderer (vtkRenderer ren)
 Overridden to set the rendererer on the internal representations.
virtual void SetRepresentationState (int arg0)
 Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.
void SetResolution (int res)
 Set/Get the resolution (number of subdivisions) of the line. A line with resolution greater than one is useful when points along the line are desired; e.g., generating a rake of streamlines.
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 line or end point 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 vtkLineRepresentation New ()
 Instantiate the class.
static new int IsTypeOf (string type)
 Standard methods for the class.
static new vtkLineRepresentation SafeDownCast (vtkObjectBase o)
 Standard methods for the class.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "21vtkLineRepresentation"
 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 vtkLineRepresentation_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLineRepresentation_BuildRepresentation_01 (HandleRef pThis)
static internal int vtkLineRepresentation_ComputeInteractionState_02 (HandleRef pThis, int X, int Y, int modify)
static internal void vtkLineRepresentation_DistanceAnnotationVisibilityOff_03 (HandleRef pThis)
static internal void vtkLineRepresentation_DistanceAnnotationVisibilityOn_04 (HandleRef pThis)
static internal void vtkLineRepresentation_GetActors_05 (HandleRef pThis, HandleRef pc)
static internal IntPtr vtkLineRepresentation_GetBounds_06 (HandleRef pThis)
static internal double vtkLineRepresentation_GetDistance_07 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetDistanceAnnotationFormat_08 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetDistanceAnnotationProperty_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLineRepresentation_GetDistanceAnnotationScale_10 (HandleRef pThis)
static internal int vtkLineRepresentation_GetDistanceAnnotationVisibility_11 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetEndPoint2Property_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLineRepresentation_GetEndPointProperty_13 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkLineRepresentation_GetInteractionStateMaxValue_14 (HandleRef pThis)
static internal int vtkLineRepresentation_GetInteractionStateMinValue_15 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetLineHandleRepresentation_16 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLineRepresentation_GetLineProperty_17 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkLineRepresentation_GetMTime_18 (HandleRef pThis)
static internal void vtkLineRepresentation_GetPoint1DisplayPosition_19 (HandleRef pThis, IntPtr pos)
static internal IntPtr vtkLineRepresentation_GetPoint1DisplayPosition_20 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetPoint1Representation_21 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLineRepresentation_GetPoint1WorldPosition_22 (HandleRef pThis, IntPtr pos)
static internal IntPtr vtkLineRepresentation_GetPoint1WorldPosition_23 (HandleRef pThis)
static internal void vtkLineRepresentation_GetPoint2DisplayPosition_24 (HandleRef pThis, IntPtr pos)
static internal IntPtr vtkLineRepresentation_GetPoint2DisplayPosition_25 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetPoint2Representation_26 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLineRepresentation_GetPoint2WorldPosition_27 (HandleRef pThis, IntPtr pos)
static internal IntPtr vtkLineRepresentation_GetPoint2WorldPosition_28 (HandleRef pThis)
static internal void vtkLineRepresentation_GetPolyData_29 (HandleRef pThis, HandleRef pd)
static internal int vtkLineRepresentation_GetRepresentationState_30 (HandleRef pThis)
static internal int vtkLineRepresentation_GetResolution_31 (HandleRef pThis)
static internal IntPtr vtkLineRepresentation_GetSelectedEndPoint2Property_32 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLineRepresentation_GetSelectedEndPointProperty_33 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLineRepresentation_GetSelectedLineProperty_34 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkLineRepresentation_GetTextActor_35 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkLineRepresentation_GetTolerance_36 (HandleRef pThis)
static internal int vtkLineRepresentation_GetToleranceMaxValue_37 (HandleRef pThis)
static internal int vtkLineRepresentation_GetToleranceMinValue_38 (HandleRef pThis)
static internal int vtkLineRepresentation_HasTranslucentPolygonalGeometry_39 (HandleRef pThis)
static internal void vtkLineRepresentation_InstantiateHandleRepresentation_40 (HandleRef pThis)
static internal int vtkLineRepresentation_IsA_41 (HandleRef pThis, string type)
static internal int vtkLineRepresentation_IsTypeOf_42 (string type)
static internal IntPtr vtkLineRepresentation_NewInstance_44 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLineRepresentation_PlaceWidget_45 (HandleRef pThis, IntPtr bounds)
static internal void vtkLineRepresentation_ReleaseGraphicsResources_46 (HandleRef pThis, HandleRef arg0)
static internal int vtkLineRepresentation_RenderOpaqueGeometry_47 (HandleRef pThis, HandleRef arg0)
static internal int vtkLineRepresentation_RenderTranslucentPolygonalGeometry_48 (HandleRef pThis, HandleRef arg0)
static internal IntPtr vtkLineRepresentation_SafeDownCast_49 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkLineRepresentation_SetDistanceAnnotationFormat_50 (HandleRef pThis, string _arg)
static internal void vtkLineRepresentation_SetDistanceAnnotationScale_51 (HandleRef pThis, double x, double y, double z)
static internal void vtkLineRepresentation_SetDistanceAnnotationScale_52 (HandleRef pThis, IntPtr scale)
static internal void vtkLineRepresentation_SetDistanceAnnotationVisibility_53 (HandleRef pThis, int _arg)
static internal void vtkLineRepresentation_SetHandleRepresentation_54 (HandleRef pThis, HandleRef handle)
static internal void vtkLineRepresentation_SetInteractionState_55 (HandleRef pThis, int _arg)
static internal void vtkLineRepresentation_SetLineColor_56 (HandleRef pThis, double r, double g, double b)
static internal void vtkLineRepresentation_SetPoint1DisplayPosition_57 (HandleRef pThis, IntPtr pos)
static internal void vtkLineRepresentation_SetPoint1WorldPosition_58 (HandleRef pThis, IntPtr pos)
static internal void vtkLineRepresentation_SetPoint2DisplayPosition_59 (HandleRef pThis, IntPtr pos)
static internal void vtkLineRepresentation_SetPoint2WorldPosition_60 (HandleRef pThis, IntPtr pos)
static internal void vtkLineRepresentation_SetRenderer_61 (HandleRef pThis, HandleRef ren)
static internal void vtkLineRepresentation_SetRepresentationState_62 (HandleRef pThis, int arg0)
static internal void vtkLineRepresentation_SetResolution_63 (HandleRef pThis, int res)
static internal void vtkLineRepresentation_SetTolerance_64 (HandleRef pThis, int _arg)
static internal void vtkLineRepresentation_StartWidgetInteraction_65 (HandleRef pThis, IntPtr e)
static internal void vtkLineRepresentation_WidgetInteraction_66 (HandleRef pThis, IntPtr e)

Static Private Member Functions

static vtkLineRepresentation ()
 Automatically generated type registration mechanics.

Detailed Description

vtkLineRepresentation - a class defining the representation for a vtkLineWidget2

Description This class is a concrete representation for the vtkLineWidget2. It represents a straight line with three handles: one at the beginning and ending of the line, and one used to translate the line. Through interaction with the widget, the line representation can be arbitrarily placed in the 3D space.

To use this representation, you normally specify the position of the two end points (either in world or display coordinates). The PlaceWidget() method is also used to intially position the representation.


Member Enumeration Documentation

Methods supporting the rendering process.

Enumerator:
OnLine 

enum member

OnP1 

enum member

OnP2 

enum member

Outside 

enum member

Scaling 

enum member

TranslatingP1 

enum member

TranslatingP2 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate the class.


Member Function Documentation

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override int Kitware.VTK.vtkLineRepresentation.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.vtkLineRepresentation.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.

Show the distance between the points.

Show the distance between the points.

Methods supporting the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Get the distance between the points.

Specify the format to use for labelling the line. Note that an empty string results in no label, or a format string without a "%" character will not print the angle value.

Get the distance annotation property.

Here is the call graph for this function:

Scale text (font size along each dimension).

Show the distance between the points.

Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.

Here is the call graph for this function:

Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.

Here is the call graph for this function:

The interaction state may be set from a widget (e.g., vtkLineWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.

The interaction state may be set from a widget (e.g., vtkLineWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.

Get the three handle representations used for the vtkLineWidget2.

Here is the call graph for this function:

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

Here is the call graph for this function:

override uint Kitware.VTK.vtkLineRepresentation.GetMTime ( ) [virtual]

Overload the superclasses' GetMTime() because internal classes are used to keep the state of the representation.

Reimplemented from Kitware.VTK.vtkObject.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Get the three handle representations used for the vtkLineWidget2.

Here is the call graph for this function:

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Get the three handle representations used for the vtkLineWidget2.

Here is the call graph for this function:

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Retrieve the polydata (including points) that defines the line. The polydata consists of n+1 points, where n is the resolution of the line. These point values are guaranteed to be up-to-date whenever any one of the three handles are moved. To use this method, the user provides the vtkPolyData as an input argument, and the points and polyline are copied into it.

Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.

Set/Get the resolution (number of subdivisions) of the line. A line with resolution greater than one is useful when points along the line are desired; e.g., generating a rake of streamlines.

Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.

Here is the call graph for this function:

Get the end-point (sphere) properties. The properties of the end-points when selected and unselected can be manipulated.

Here is the call graph for this function:

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 text actor.

Here is the call graph for this function:

The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the line or end point to be active.

The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the line or end point to be active.

The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the line or end point to be active.

Methods supporting the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

This method is used to specify the type of handle representation to use for the three internal vtkHandleWidgets within vtkLineWidget2. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkLineRepresentation uses this dummy to clone three vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkLineWidget2.)

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

Standard methods for the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

Standard methods for the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Instantiate the class.

Reimplemented from Kitware.VTK.vtkObject.

Standard methods for the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods supporting the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods supporting the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods supporting the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Standard methods for the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkLineRepresentation.SetDistanceAnnotationFormat ( string  _arg) [virtual]

Specify the format to use for labelling the line. Note that an empty string results in no label, or a format string without a "%" character will not print the angle value.

void Kitware.VTK.vtkLineRepresentation.SetDistanceAnnotationScale ( double  x,
double  y,
double  z 
)

Scale text (font size along each dimension).

virtual void Kitware.VTK.vtkLineRepresentation.SetDistanceAnnotationScale ( IntPtr  scale) [virtual]

Scale text (font size along each dimension).

Show the distance between the points.

This method is used to specify the type of handle representation to use for the three internal vtkHandleWidgets within vtkLineWidget2. To use this method, create a dummy vtkHandleWidget (or subclass), and then invoke this method with this dummy. Then the vtkLineRepresentation uses this dummy to clone three vtkHandleWidgets of the same type. Make sure you set the handle representation before the widget is enabled. (The method InstantiateHandleRepresentation() is invoked by the vtkLineWidget2.)

virtual void Kitware.VTK.vtkLineRepresentation.SetInteractionState ( int  _arg) [virtual]

The interaction state may be set from a widget (e.g., vtkLineWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.

void Kitware.VTK.vtkLineRepresentation.SetLineColor ( double  r,
double  g,
double  b 
)

Convenience method to set the line color. Ideally one should use GetLineProperty()->SetColor().

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Methods to Set/Get the coordinates of the two points defining this representation. Note that methods are available for both display and world coordinates.

Overridden to set the rendererer on the internal representations.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

virtual void Kitware.VTK.vtkLineRepresentation.SetRepresentationState ( int  arg0) [virtual]

Sets the visual appearance of the representation based on the state it is in. This state is usually the same as InteractionState.

Set/Get the resolution (number of subdivisions) of the line. A line with resolution greater than one is useful when points along the line are desired; e.g., generating a rake of streamlines.

virtual void Kitware.VTK.vtkLineRepresentation.SetTolerance ( int  _arg) [virtual]

The tolerance representing the distance to the widget (in pixels) in which the cursor is considered near enough to the line or end point to be active.

override void Kitware.VTK.vtkLineRepresentation.StartWidgetInteraction ( IntPtr  e) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_BuildRepresentation_01 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_ComputeInteractionState_02 ( HandleRef  pThis,
int  X,
int  Y,
int  modify 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetActors_05 ( HandleRef  pThis,
HandleRef  pc 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetBounds_06 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetDistance_07 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetDistanceAnnotationProperty_09 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetEndPoint2Property_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetEndPointProperty_13 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetLineHandleRepresentation_16 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetLineProperty_17 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal uint Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetMTime_18 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint1DisplayPosition_19 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint1DisplayPosition_20 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint1Representation_21 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint1WorldPosition_22 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint1WorldPosition_23 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint2DisplayPosition_24 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint2DisplayPosition_25 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint2Representation_26 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint2WorldPosition_27 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPoint2WorldPosition_28 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetPolyData_29 ( HandleRef  pThis,
HandleRef  pd 
) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetResolution_31 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetSelectedEndPoint2Property_32 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetSelectedEndPointProperty_33 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetSelectedLineProperty_34 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetTextActor_35 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetTolerance_36 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetToleranceMaxValue_37 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_GetToleranceMinValue_38 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_IsA_41 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_IsTypeOf_42 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_NewInstance_44 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_PlaceWidget_45 ( HandleRef  pThis,
IntPtr  bounds 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_ReleaseGraphicsResources_46 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_RenderOpaqueGeometry_47 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_RenderTranslucentPolygonalGeometry_48 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal IntPtr Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SafeDownCast_49 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetDistanceAnnotationFormat_50 ( HandleRef  pThis,
string  _arg 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetDistanceAnnotationScale_51 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetDistanceAnnotationScale_52 ( HandleRef  pThis,
IntPtr  scale 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetDistanceAnnotationVisibility_53 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetHandleRepresentation_54 ( HandleRef  pThis,
HandleRef  handle 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetInteractionState_55 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetLineColor_56 ( HandleRef  pThis,
double  r,
double  g,
double  b 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetPoint1DisplayPosition_57 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetPoint1WorldPosition_58 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetPoint2DisplayPosition_59 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetPoint2WorldPosition_60 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetRenderer_61 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetRepresentationState_62 ( HandleRef  pThis,
int  arg0 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetResolution_63 ( HandleRef  pThis,
int  res 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_SetTolerance_64 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_StartWidgetInteraction_65 ( HandleRef  pThis,
IntPtr  e 
) [private]
static internal void Kitware.VTK.vtkLineRepresentation.vtkLineRepresentation_WidgetInteraction_66 ( HandleRef  pThis,
IntPtr  e 
) [private]
override void Kitware.VTK.vtkLineRepresentation.WidgetInteraction ( IntPtr  e) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.


Member Data Documentation

new readonly string Kitware.VTK.vtkLineRepresentation.MRClassNameKey = "21vtkLineRepresentation" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.


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