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

vtkContourRepresentation - represent the vtkContourWidget More...

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

List of all members.

Public Types

enum  Nearby_WrapperEnum { Nearby = 1, Outside = 0 }
 The tolerance to use when calculations are performed in world coordinates. More...
enum  Inactive_WrapperEnum { Inactive = 0, Scale = 3, Shift = 2, Translate = 1 }
 The tolerance to use when calculations are performed in world coordinates. More...

Public Member Functions

 vtkContourRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual int ActivateNode (IntPtr displayPos)
 Given a display position, activate a node. The closest node within tolerance will be activated. If a node is activated, 1 will be returned, otherwise 0 will be returned.
virtual int ActivateNode (int X, int Y)
 Given a display position, activate a node. The closest node within tolerance will be activated. If a node is activated, 1 will be returned, otherwise 0 will be returned.
virtual int AddIntermediatePointWorldPosition (int n, IntPtr point)
 Add an intermediate point between node n and n+1 (or n and 0 if n is the last node and the loop is closed). Returns 1 on success or 0 if n is out of range.
virtual int AddNodeAtDisplayPosition (IntPtr displayPos)
 Add a node at a specific display position. This will be converted into a world position according to the current constraints of the point placer. Return 0 if a point could not be added, 1 otherwise.
virtual int AddNodeAtDisplayPosition (int X, int Y)
 Add a node at a specific display position. This will be converted into a world position according to the current constraints of the point placer. Return 0 if a point could not be added, 1 otherwise.
virtual int AddNodeAtWorldPosition (double x, double y, double z)
 Add a node at a specific world position. Returns 0 if the node could not be added, 1 otherwise.
virtual int AddNodeAtWorldPosition (IntPtr worldPos)
 Add a node at a specific world position. Returns 0 if the node could not be added, 1 otherwise.
virtual int AddNodeAtWorldPosition (IntPtr worldPos, IntPtr worldOrient)
 Add a node at a specific world position. Returns 0 if the node could not be added, 1 otherwise.
virtual int AddNodeOnContour (int X, int Y)
 Given a specific X, Y pixel location, add a new node on the contour at this location.
override void BuildRepresentation ()
 These are methods that satisfy vtkWidgetRepresentation's API.
virtual void ClearAllNodes ()
 Delete all nodes.
virtual void ClosedLoopOff ()
 Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.
virtual void ClosedLoopOn ()
 Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.
override int ComputeInteractionState (int X, int Y, int modified)
 These are methods that satisfy vtkWidgetRepresentation's API.
virtual int DeleteActiveNode ()
 Delete the active node. Returns 1 on success or 0 if the active node did not indicate a valid node.
virtual int DeleteLastNode ()
 Delete the last node. Returns 1 on success or 0 if there were not any nodes.
virtual int DeleteNthNode (int n)
 Delete the nth node. Return 1 on success or 0 if n is out of range.
virtual int GetActiveNodeDisplayPosition (IntPtr pos)
 Get the display position of the active node. Will return 0 if there is no active node, or 1 otherwise.
virtual int GetActiveNodeSelected ()
 Set/Get whether the active or nth node is selected.
virtual int GetActiveNodeWorldOrientation (IntPtr orient)
 Get the world orientation of the active node. Will return 0 if there is no active node, or 1 otherwise.
virtual int GetActiveNodeWorldPosition (IntPtr pos)
 Get the world position of the active node. Will return 0 if there is no active node, or 1 otherwise.
virtual int GetClosedLoop ()
 Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.
virtual vtkPolyData GetContourRepresentationAsPolyData ()
 A flag to indicate whether to show the Selected nodes Default is to set it to false.
virtual int GetCurrentOperation ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
virtual int GetCurrentOperationMaxValue ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
virtual int GetCurrentOperationMinValue ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
virtual int GetIntermediatePointWorldPosition (int n, int idx, IntPtr point)
 Get the world position of the intermediate point at index idx between nodes n and (n+1) (or n and 0 if n is the last node and the loop is closed). Returns 1 on success or 0 if n or idx are out of range.
virtual vtkContourLineInterpolator GetLineInterpolator ()
 Set / Get the Line Interpolator. The line interpolator is responsible for generating the line segments connecting nodes.
void GetNodePolyData (vtkPolyData poly)
 Get the nodes and not the intermediate points in this contour as a vtkPolyData.
virtual int GetNthNodeDisplayPosition (int n, IntPtr pos)
 Get the nth node's display position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).
virtual int GetNthNodeSelected (int arg0)
 Set/Get whether the active or nth node is selected.
virtual int GetNthNodeSlope (int idx, IntPtr slope)
 Get the nth node's slope. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).
virtual int GetNthNodeWorldOrientation (int n, IntPtr orient)
 Get the nth node's world orientation. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).
virtual int GetNthNodeWorldPosition (int n, IntPtr pos)
 Get the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).
virtual int GetNumberOfIntermediatePoints (int n)
 Descirption: For a given node n, get the number of intermediate points between this node and the node at (n+1). If n is the last node and the loop is closed, this is the number of intermediate points between node n and node 0. 0 is returned if n is out of range.
virtual int GetNumberOfNodes ()
 Get the number of nodes.
virtual int GetPixelTolerance ()
 The tolerance to use when calculations are performed in display coordinates.
virtual int GetPixelToleranceMaxValue ()
 The tolerance to use when calculations are performed in display coordinates.
virtual int GetPixelToleranceMinValue ()
 The tolerance to use when calculations are performed in display coordinates.
virtual vtkPointPlacer GetPointPlacer ()
 Descirption: Set / get the Point Placer. The point placer is responsible for converting display coordinates into world coordinates according to some constraints, and for validating world positions.
virtual int GetShowSelectedNodes ()
 A flag to indicate whether to show the Selected nodes Default is to set it to false.
virtual double GetWorldTolerance ()
 The tolerance to use when calculations are performed in world coordinates.
virtual double GetWorldToleranceMaxValue ()
 The tolerance to use when calculations are performed in world coordinates.
virtual double GetWorldToleranceMinValue ()
 The tolerance to use when calculations are performed in world coordinates.
override int HasTranslucentPolygonalGeometry ()
 Methods required by vtkProp superclass.
override int IsA (string type)
 Standard VTK methods.
new vtkContourRepresentation NewInstance ()
 Standard VTK methods.
override void ReleaseGraphicsResources (vtkWindow w)
 Methods required by vtkProp superclass.
override int RenderOpaqueGeometry (vtkViewport viewport)
 Methods required by vtkProp superclass.
override int RenderOverlay (vtkViewport viewport)
 Methods required by vtkProp superclass.
override int RenderTranslucentPolygonalGeometry (vtkViewport viewport)
 Methods required by vtkProp superclass.
virtual int SetActiveNodeToDisplayPosition (IntPtr pos)
 Move the active node based on a specified display position. The display position will be converted into a world position. If the new position is not valid or there is no active node, a 0 will be returned. Otherwise, on success a 1 will be returned.
virtual int SetActiveNodeToDisplayPosition (int X, int Y)
 Move the active node based on a specified display position. The display position will be converted into a world position. If the new position is not valid or there is no active node, a 0 will be returned. Otherwise, on success a 1 will be returned.
virtual int SetActiveNodeToWorldPosition (IntPtr pos)
 Descirption: Move the active node to a specified world position. Will return 0 if there is no active node or the node could not be moved to that position. 1 will be returned on success.
virtual int SetActiveNodeToWorldPosition (IntPtr pos, IntPtr orient)
 Descirption: Move the active node to a specified world position. Will return 0 if there is no active node or the node could not be moved to that position. 1 will be returned on success.
void SetClosedLoop (int val)
 Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.
virtual void SetCurrentOperation (int _arg)
 Set / get the current operation. The widget is either inactive, or it is being translated.
void SetCurrentOperationToInactive ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
void SetCurrentOperationToScale ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
void SetCurrentOperationToShift ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
void SetCurrentOperationToTranslate ()
 Set / get the current operation. The widget is either inactive, or it is being translated.
void SetLineInterpolator (vtkContourLineInterpolator arg0)
 Set / Get the Line Interpolator. The line interpolator is responsible for generating the line segments connecting nodes.
virtual int SetNthNodeDisplayPosition (int n, int X, int Y)
 Set the nth node's display position. Display position will be converted into world position according to the constraints of the point placer. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid.
virtual int SetNthNodeDisplayPosition (int n, IntPtr pos)
 Set the nth node's display position. Display position will be converted into world position according to the constraints of the point placer. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid.
virtual int SetNthNodeSelected (int arg0)
 Set/Get whether the active or nth node is selected.
virtual int SetNthNodeWorldPosition (int n, IntPtr pos)
 Set the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid according to the point placer.
virtual int SetNthNodeWorldPosition (int n, IntPtr pos, IntPtr orient)
 Set the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid according to the point placer.
virtual void SetPixelTolerance (int _arg)
 The tolerance to use when calculations are performed in display coordinates.
void SetPointPlacer (vtkPointPlacer arg0)
 Descirption: Set / get the Point Placer. The point placer is responsible for converting display coordinates into world coordinates according to some constraints, and for validating world positions.
virtual void SetRebuildLocator (bool _arg)
 Get the nodes and not the intermediate points in this contour as a vtkPolyData.
virtual void SetShowSelectedNodes (int arg0)
 A flag to indicate whether to show the Selected nodes Default is to set it to false.
virtual void SetWorldTolerance (double _arg)
 The tolerance to use when calculations are performed in world coordinates.
virtual void ShowSelectedNodesOff ()
 A flag to indicate whether to show the Selected nodes Default is to set it to false.
virtual void ShowSelectedNodesOn ()
 A flag to indicate whether to show the Selected nodes Default is to set it to false.
override void StartWidgetInteraction (IntPtr e)
 These are methods that satisfy vtkWidgetRepresentation's API.
virtual int ToggleActiveNodeSelected ()
 Set/Get whether the active or nth node is selected.
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 vtkContourRepresentation SafeDownCast (vtkObjectBase o)
 Standard VTK methods.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "24vtkContourRepresentation"
 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 int vtkContourRepresentation_ActivateNode_01 (HandleRef pThis, IntPtr displayPos)
static internal int vtkContourRepresentation_ActivateNode_02 (HandleRef pThis, int X, int Y)
static internal int vtkContourRepresentation_AddIntermediatePointWorldPosition_03 (HandleRef pThis, int n, IntPtr point)
static internal int vtkContourRepresentation_AddNodeAtDisplayPosition_04 (HandleRef pThis, IntPtr displayPos)
static internal int vtkContourRepresentation_AddNodeAtDisplayPosition_05 (HandleRef pThis, int X, int Y)
static internal int vtkContourRepresentation_AddNodeAtWorldPosition_06 (HandleRef pThis, double x, double y, double z)
static internal int vtkContourRepresentation_AddNodeAtWorldPosition_07 (HandleRef pThis, IntPtr worldPos)
static internal int vtkContourRepresentation_AddNodeAtWorldPosition_08 (HandleRef pThis, IntPtr worldPos, IntPtr worldOrient)
static internal int vtkContourRepresentation_AddNodeOnContour_09 (HandleRef pThis, int X, int Y)
static internal void vtkContourRepresentation_BuildRepresentation_10 (HandleRef pThis)
static internal void vtkContourRepresentation_ClearAllNodes_11 (HandleRef pThis)
static internal void vtkContourRepresentation_ClosedLoopOff_12 (HandleRef pThis)
static internal void vtkContourRepresentation_ClosedLoopOn_13 (HandleRef pThis)
static internal int vtkContourRepresentation_ComputeInteractionState_14 (HandleRef pThis, int X, int Y, int modified)
static internal int vtkContourRepresentation_DeleteActiveNode_15 (HandleRef pThis)
static internal int vtkContourRepresentation_DeleteLastNode_16 (HandleRef pThis)
static internal int vtkContourRepresentation_DeleteNthNode_17 (HandleRef pThis, int n)
static internal int vtkContourRepresentation_GetActiveNodeDisplayPosition_18 (HandleRef pThis, IntPtr pos)
static internal int vtkContourRepresentation_GetActiveNodeSelected_19 (HandleRef pThis)
static internal int vtkContourRepresentation_GetActiveNodeWorldOrientation_20 (HandleRef pThis, IntPtr orient)
static internal int vtkContourRepresentation_GetActiveNodeWorldPosition_21 (HandleRef pThis, IntPtr pos)
static internal int vtkContourRepresentation_GetClosedLoop_22 (HandleRef pThis)
static internal IntPtr vtkContourRepresentation_GetContourRepresentationAsPolyData_23 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkContourRepresentation_GetCurrentOperation_24 (HandleRef pThis)
static internal int vtkContourRepresentation_GetCurrentOperationMaxValue_25 (HandleRef pThis)
static internal int vtkContourRepresentation_GetCurrentOperationMinValue_26 (HandleRef pThis)
static internal int vtkContourRepresentation_GetIntermediatePointWorldPosition_27 (HandleRef pThis, int n, int idx, IntPtr point)
static internal IntPtr vtkContourRepresentation_GetLineInterpolator_28 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkContourRepresentation_GetNodePolyData_29 (HandleRef pThis, HandleRef poly)
static internal int vtkContourRepresentation_GetNthNodeDisplayPosition_30 (HandleRef pThis, int n, IntPtr pos)
static internal int vtkContourRepresentation_GetNthNodeSelected_31 (HandleRef pThis, int arg0)
static internal int vtkContourRepresentation_GetNthNodeSlope_32 (HandleRef pThis, int idx, IntPtr slope)
static internal int vtkContourRepresentation_GetNthNodeWorldOrientation_33 (HandleRef pThis, int n, IntPtr orient)
static internal int vtkContourRepresentation_GetNthNodeWorldPosition_34 (HandleRef pThis, int n, IntPtr pos)
static internal int vtkContourRepresentation_GetNumberOfIntermediatePoints_35 (HandleRef pThis, int n)
static internal int vtkContourRepresentation_GetNumberOfNodes_36 (HandleRef pThis)
static internal int vtkContourRepresentation_GetPixelTolerance_37 (HandleRef pThis)
static internal int vtkContourRepresentation_GetPixelToleranceMaxValue_38 (HandleRef pThis)
static internal int vtkContourRepresentation_GetPixelToleranceMinValue_39 (HandleRef pThis)
static internal IntPtr vtkContourRepresentation_GetPointPlacer_40 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkContourRepresentation_GetShowSelectedNodes_41 (HandleRef pThis)
static internal double vtkContourRepresentation_GetWorldTolerance_42 (HandleRef pThis)
static internal double vtkContourRepresentation_GetWorldToleranceMaxValue_43 (HandleRef pThis)
static internal double vtkContourRepresentation_GetWorldToleranceMinValue_44 (HandleRef pThis)
static internal int vtkContourRepresentation_HasTranslucentPolygonalGeometry_45 (HandleRef pThis)
static internal int vtkContourRepresentation_IsA_46 (HandleRef pThis, string type)
static internal int vtkContourRepresentation_IsTypeOf_47 (string type)
static internal IntPtr vtkContourRepresentation_NewInstance_48 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkContourRepresentation_ReleaseGraphicsResources_49 (HandleRef pThis, HandleRef w)
static internal int vtkContourRepresentation_RenderOpaqueGeometry_50 (HandleRef pThis, HandleRef viewport)
static internal int vtkContourRepresentation_RenderOverlay_51 (HandleRef pThis, HandleRef viewport)
static internal int vtkContourRepresentation_RenderTranslucentPolygonalGeometry_52 (HandleRef pThis, HandleRef viewport)
static internal IntPtr vtkContourRepresentation_SafeDownCast_53 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkContourRepresentation_SetActiveNodeToDisplayPosition_54 (HandleRef pThis, IntPtr pos)
static internal int vtkContourRepresentation_SetActiveNodeToDisplayPosition_55 (HandleRef pThis, int X, int Y)
static internal int vtkContourRepresentation_SetActiveNodeToWorldPosition_56 (HandleRef pThis, IntPtr pos)
static internal int vtkContourRepresentation_SetActiveNodeToWorldPosition_57 (HandleRef pThis, IntPtr pos, IntPtr orient)
static internal void vtkContourRepresentation_SetClosedLoop_58 (HandleRef pThis, int val)
static internal void vtkContourRepresentation_SetCurrentOperation_59 (HandleRef pThis, int _arg)
static internal void vtkContourRepresentation_SetCurrentOperationToInactive_60 (HandleRef pThis)
static internal void vtkContourRepresentation_SetCurrentOperationToScale_61 (HandleRef pThis)
static internal void vtkContourRepresentation_SetCurrentOperationToShift_62 (HandleRef pThis)
static internal void vtkContourRepresentation_SetCurrentOperationToTranslate_63 (HandleRef pThis)
static internal void vtkContourRepresentation_SetLineInterpolator_64 (HandleRef pThis, HandleRef arg0)
static internal int vtkContourRepresentation_SetNthNodeDisplayPosition_65 (HandleRef pThis, int n, int X, int Y)
static internal int vtkContourRepresentation_SetNthNodeDisplayPosition_66 (HandleRef pThis, int n, IntPtr pos)
static internal int vtkContourRepresentation_SetNthNodeSelected_67 (HandleRef pThis, int arg0)
static internal int vtkContourRepresentation_SetNthNodeWorldPosition_68 (HandleRef pThis, int n, IntPtr pos)
static internal int vtkContourRepresentation_SetNthNodeWorldPosition_69 (HandleRef pThis, int n, IntPtr pos, IntPtr orient)
static internal void vtkContourRepresentation_SetPixelTolerance_70 (HandleRef pThis, int _arg)
static internal void vtkContourRepresentation_SetPointPlacer_71 (HandleRef pThis, HandleRef arg0)
static internal void vtkContourRepresentation_SetRebuildLocator_72 (HandleRef pThis, byte _arg)
static internal void vtkContourRepresentation_SetShowSelectedNodes_73 (HandleRef pThis, int arg0)
static internal void vtkContourRepresentation_SetWorldTolerance_74 (HandleRef pThis, double _arg)
static internal void vtkContourRepresentation_ShowSelectedNodesOff_75 (HandleRef pThis)
static internal void vtkContourRepresentation_ShowSelectedNodesOn_76 (HandleRef pThis)
static internal void vtkContourRepresentation_StartWidgetInteraction_77 (HandleRef pThis, IntPtr e)
static internal int vtkContourRepresentation_ToggleActiveNodeSelected_78 (HandleRef pThis)
static internal void vtkContourRepresentation_WidgetInteraction_79 (HandleRef pThis, IntPtr e)

Static Private Member Functions

static vtkContourRepresentation ()
 Automatically generated type registration mechanics.

Detailed Description

vtkContourRepresentation - represent the vtkContourWidget

Description The vtkContourRepresentation is a superclass for various types of representations for the vtkContourWidget.

Managing contour points The classes vtkContourRepresentationNode, vtkContourRepresentationInternals, vtkContourRepresentationPoint manage the data structure used to represent nodes and points on a contour. A contour may contain several nodes and several more points. Nodes are usually the result of user clicked points on the contour. Additional points are created between nodes to generate a smooth curve using some Interpolator. See the method SetLineInterpolator.

The data structure stores both the world and display positions for every point. (This may seem like a duplication.) The default behaviour of this class is to use the WorldPosition to do all the math. Typically a point is added at a given display position. Its corresponding world position is computed using the point placer and stored. Any query of the display position of a stored point is done via the Renderer, which computes the display position given a world position.
So why maintain the display position ? Consider drawing a contour on a volume widget. You might want the contour to be located at a certain world position in the volume or you might want to be overlayed over the window like an Actor2D. The default behaviour of this class is to provide the former behaviour.
To achieve the latter behaviour override the methods that return the display position (to return the set display position instead of computing it from the world positions) and the method BuildLines() to interpolate lines using their display positions intead of world positions.

vtkContourWidget


Member Enumeration Documentation

The tolerance to use when calculations are performed in world coordinates.

Enumerator:
Inactive 

enum member

Scale 

enum member

Shift 

enum member

Translate 

enum member

The tolerance to use when calculations are performed in world coordinates.

Enumerator:
Nearby 

enum member

Outside 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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


Member Function Documentation

virtual int Kitware.VTK.vtkContourRepresentation.ActivateNode ( IntPtr  displayPos) [virtual]

Given a display position, activate a node. The closest node within tolerance will be activated. If a node is activated, 1 will be returned, otherwise 0 will be returned.

virtual int Kitware.VTK.vtkContourRepresentation.ActivateNode ( int  X,
int  Y 
) [virtual]

Given a display position, activate a node. The closest node within tolerance will be activated. If a node is activated, 1 will be returned, otherwise 0 will be returned.

virtual int Kitware.VTK.vtkContourRepresentation.AddIntermediatePointWorldPosition ( int  n,
IntPtr  point 
) [virtual]

Add an intermediate point between node n and n+1 (or n and 0 if n is the last node and the loop is closed). Returns 1 on success or 0 if n is out of range.

virtual int Kitware.VTK.vtkContourRepresentation.AddNodeAtDisplayPosition ( IntPtr  displayPos) [virtual]

Add a node at a specific display position. This will be converted into a world position according to the current constraints of the point placer. Return 0 if a point could not be added, 1 otherwise.

virtual int Kitware.VTK.vtkContourRepresentation.AddNodeAtDisplayPosition ( int  X,
int  Y 
) [virtual]

Add a node at a specific display position. This will be converted into a world position according to the current constraints of the point placer. Return 0 if a point could not be added, 1 otherwise.

virtual int Kitware.VTK.vtkContourRepresentation.AddNodeAtWorldPosition ( double  x,
double  y,
double  z 
) [virtual]

Add a node at a specific world position. Returns 0 if the node could not be added, 1 otherwise.

virtual int Kitware.VTK.vtkContourRepresentation.AddNodeAtWorldPosition ( IntPtr  worldPos) [virtual]

Add a node at a specific world position. Returns 0 if the node could not be added, 1 otherwise.

virtual int Kitware.VTK.vtkContourRepresentation.AddNodeAtWorldPosition ( IntPtr  worldPos,
IntPtr  worldOrient 
) [virtual]

Add a node at a specific world position. Returns 0 if the node could not be added, 1 otherwise.

virtual int Kitware.VTK.vtkContourRepresentation.AddNodeOnContour ( int  X,
int  Y 
) [virtual]

Given a specific X, Y pixel location, add a new node on the contour at this location.

Delete all nodes.

Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.

Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.

override int Kitware.VTK.vtkContourRepresentation.ComputeInteractionState ( int  X,
int  Y,
int  modified 
) [virtual]

Delete the active node. Returns 1 on success or 0 if the active node did not indicate a valid node.

Delete the last node. Returns 1 on success or 0 if there were not any nodes.

virtual int Kitware.VTK.vtkContourRepresentation.DeleteNthNode ( int  n) [virtual]

Delete the nth node. Return 1 on success or 0 if n is out of range.

override void Kitware.VTK.vtkContourRepresentation.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.vtkOrientedGlyphFocalPlaneContourRepresentation, Kitware.VTK.vtkOrientedGlyphContourRepresentation, and Kitware.VTK.vtkFocalPlaneContourRepresentation.

Get the display position of the active node. Will return 0 if there is no active node, or 1 otherwise.

Set/Get whether the active or nth node is selected.

Get the world orientation of the active node. Will return 0 if there is no active node, or 1 otherwise.

Get the world position of the active node. Will return 0 if there is no active node, or 1 otherwise.

Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.

A flag to indicate whether to show the Selected nodes Default is to set it to false.

Reimplemented in Kitware.VTK.vtkOrientedGlyphContourRepresentation, and Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation.

Here is the call graph for this function:

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / get the current operation. The widget is either inactive, or it is being translated.

virtual int Kitware.VTK.vtkContourRepresentation.GetIntermediatePointWorldPosition ( int  n,
int  idx,
IntPtr  point 
) [virtual]

Get the world position of the intermediate point at index idx between nodes n and (n+1) (or n and 0 if n is the last node and the loop is closed). Returns 1 on success or 0 if n or idx are out of range.

Reimplemented in Kitware.VTK.vtkFocalPlaneContourRepresentation.

Set / Get the Line Interpolator. The line interpolator is responsible for generating the line segments connecting nodes.

Here is the call graph for this function:

Get the nodes and not the intermediate points in this contour as a vtkPolyData.

virtual int Kitware.VTK.vtkContourRepresentation.GetNthNodeDisplayPosition ( int  n,
IntPtr  pos 
) [virtual]

Get the nth node's display position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).

Reimplemented in Kitware.VTK.vtkFocalPlaneContourRepresentation.

virtual int Kitware.VTK.vtkContourRepresentation.GetNthNodeSelected ( int  arg0) [virtual]

Set/Get whether the active or nth node is selected.

virtual int Kitware.VTK.vtkContourRepresentation.GetNthNodeSlope ( int  idx,
IntPtr  slope 
) [virtual]

Get the nth node's slope. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).

virtual int Kitware.VTK.vtkContourRepresentation.GetNthNodeWorldOrientation ( int  n,
IntPtr  orient 
) [virtual]

Get the nth node's world orientation. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).

virtual int Kitware.VTK.vtkContourRepresentation.GetNthNodeWorldPosition ( int  n,
IntPtr  pos 
) [virtual]

Get the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting).

Reimplemented in Kitware.VTK.vtkFocalPlaneContourRepresentation.

Descirption: For a given node n, get the number of intermediate points between this node and the node at (n+1). If n is the last node and the loop is closed, this is the number of intermediate points between node n and node 0. 0 is returned if n is out of range.

Get the number of nodes.

The tolerance to use when calculations are performed in display coordinates.

The tolerance to use when calculations are performed in display coordinates.

The tolerance to use when calculations are performed in display coordinates.

Descirption: Set / get the Point Placer. The point placer is responsible for converting display coordinates into world coordinates according to some constraints, and for validating world positions.

Here is the call graph for this function:

A flag to indicate whether to show the Selected nodes Default is to set it to false.

The tolerance to use when calculations are performed in world coordinates.

The tolerance to use when calculations are performed in world coordinates.

The tolerance to use when calculations are performed in world coordinates.

override int Kitware.VTK.vtkContourRepresentation.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkContourRepresentation.IsTypeOf ( string  type) [static]

Standard VTK methods.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Reimplemented in Kitware.VTK.vtkOrientedGlyphContourRepresentation, Kitware.VTK.vtkOrientedGlyphFocalPlaneContourRepresentation, and Kitware.VTK.vtkFocalPlaneContourRepresentation.

Here is the call graph for this function:

Move the active node based on a specified display position. The display position will be converted into a world position. If the new position is not valid or there is no active node, a 0 will be returned. Otherwise, on success a 1 will be returned.

virtual int Kitware.VTK.vtkContourRepresentation.SetActiveNodeToDisplayPosition ( int  X,
int  Y 
) [virtual]

Move the active node based on a specified display position. The display position will be converted into a world position. If the new position is not valid or there is no active node, a 0 will be returned. Otherwise, on success a 1 will be returned.

Descirption: Move the active node to a specified world position. Will return 0 if there is no active node or the node could not be moved to that position. 1 will be returned on success.

virtual int Kitware.VTK.vtkContourRepresentation.SetActiveNodeToWorldPosition ( IntPtr  pos,
IntPtr  orient 
) [virtual]

Descirption: Move the active node to a specified world position. Will return 0 if there is no active node or the node could not be moved to that position. 1 will be returned on success.

Set / Get the ClosedLoop value. This ivar indicates whether the contour forms a closed loop.

virtual void Kitware.VTK.vtkContourRepresentation.SetCurrentOperation ( int  _arg) [virtual]

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / get the current operation. The widget is either inactive, or it is being translated.

Set / Get the Line Interpolator. The line interpolator is responsible for generating the line segments connecting nodes.

virtual int Kitware.VTK.vtkContourRepresentation.SetNthNodeDisplayPosition ( int  n,
int  X,
int  Y 
) [virtual]

Set the nth node's display position. Display position will be converted into world position according to the constraints of the point placer. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid.

virtual int Kitware.VTK.vtkContourRepresentation.SetNthNodeDisplayPosition ( int  n,
IntPtr  pos 
) [virtual]

Set the nth node's display position. Display position will be converted into world position according to the constraints of the point placer. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid.

virtual int Kitware.VTK.vtkContourRepresentation.SetNthNodeSelected ( int  arg0) [virtual]

Set/Get whether the active or nth node is selected.

virtual int Kitware.VTK.vtkContourRepresentation.SetNthNodeWorldPosition ( int  n,
IntPtr  pos 
) [virtual]

Set the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid according to the point placer.

virtual int Kitware.VTK.vtkContourRepresentation.SetNthNodeWorldPosition ( int  n,
IntPtr  pos,
IntPtr  orient 
) [virtual]

Set the nth node's world position. Will return 1 on success, or 0 if there are not at least (n+1) nodes (0 based counting) or the world position is not valid according to the point placer.

virtual void Kitware.VTK.vtkContourRepresentation.SetPixelTolerance ( int  _arg) [virtual]

The tolerance to use when calculations are performed in display coordinates.

Descirption: Set / get the Point Placer. The point placer is responsible for converting display coordinates into world coordinates according to some constraints, and for validating world positions.

virtual void Kitware.VTK.vtkContourRepresentation.SetRebuildLocator ( bool  _arg) [virtual]

Get the nodes and not the intermediate points in this contour as a vtkPolyData.

virtual void Kitware.VTK.vtkContourRepresentation.SetShowSelectedNodes ( int  arg0) [virtual]

A flag to indicate whether to show the Selected nodes Default is to set it to false.

Reimplemented in Kitware.VTK.vtkOrientedGlyphContourRepresentation.

virtual void Kitware.VTK.vtkContourRepresentation.SetWorldTolerance ( double  _arg) [virtual]

The tolerance to use when calculations are performed in world coordinates.

A flag to indicate whether to show the Selected nodes Default is to set it to false.

A flag to indicate whether to show the Selected nodes Default is to set it to false.

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

Set/Get whether the active or nth node is selected.

static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ActivateNode_01 ( HandleRef  pThis,
IntPtr  displayPos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ActivateNode_02 ( HandleRef  pThis,
int  X,
int  Y 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddIntermediatePointWorldPosition_03 ( HandleRef  pThis,
int  n,
IntPtr  point 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddNodeAtDisplayPosition_04 ( HandleRef  pThis,
IntPtr  displayPos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddNodeAtDisplayPosition_05 ( HandleRef  pThis,
int  X,
int  Y 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddNodeAtWorldPosition_06 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddNodeAtWorldPosition_07 ( HandleRef  pThis,
IntPtr  worldPos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddNodeAtWorldPosition_08 ( HandleRef  pThis,
IntPtr  worldPos,
IntPtr  worldOrient 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_AddNodeOnContour_09 ( HandleRef  pThis,
int  X,
int  Y 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ClearAllNodes_11 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ClosedLoopOff_12 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ClosedLoopOn_13 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ComputeInteractionState_14 ( HandleRef  pThis,
int  X,
int  Y,
int  modified 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_DeleteLastNode_16 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_DeleteNthNode_17 ( HandleRef  pThis,
int  n 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetActiveNodeDisplayPosition_18 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetActiveNodeWorldOrientation_20 ( HandleRef  pThis,
IntPtr  orient 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetActiveNodeWorldPosition_21 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetClosedLoop_22 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetContourRepresentationAsPolyData_23 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetIntermediatePointWorldPosition_27 ( HandleRef  pThis,
int  n,
int  idx,
IntPtr  point 
) [private]
static internal IntPtr Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetLineInterpolator_28 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNodePolyData_29 ( HandleRef  pThis,
HandleRef  poly 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNthNodeDisplayPosition_30 ( HandleRef  pThis,
int  n,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNthNodeSelected_31 ( HandleRef  pThis,
int  arg0 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNthNodeSlope_32 ( HandleRef  pThis,
int  idx,
IntPtr  slope 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNthNodeWorldOrientation_33 ( HandleRef  pThis,
int  n,
IntPtr  orient 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNthNodeWorldPosition_34 ( HandleRef  pThis,
int  n,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetNumberOfIntermediatePoints_35 ( HandleRef  pThis,
int  n 
) [private]
static internal IntPtr Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetPointPlacer_40 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_GetWorldTolerance_42 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_IsA_46 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_IsTypeOf_47 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_NewInstance_48 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_ReleaseGraphicsResources_49 ( HandleRef  pThis,
HandleRef  w 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_RenderOpaqueGeometry_50 ( HandleRef  pThis,
HandleRef  viewport 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_RenderOverlay_51 ( HandleRef  pThis,
HandleRef  viewport 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_RenderTranslucentPolygonalGeometry_52 ( HandleRef  pThis,
HandleRef  viewport 
) [private]
static internal IntPtr Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SafeDownCast_53 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetActiveNodeToDisplayPosition_54 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetActiveNodeToDisplayPosition_55 ( HandleRef  pThis,
int  X,
int  Y 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetActiveNodeToWorldPosition_56 ( HandleRef  pThis,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetActiveNodeToWorldPosition_57 ( HandleRef  pThis,
IntPtr  pos,
IntPtr  orient 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetClosedLoop_58 ( HandleRef  pThis,
int  val 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetCurrentOperation_59 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetLineInterpolator_64 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetNthNodeDisplayPosition_65 ( HandleRef  pThis,
int  n,
int  X,
int  Y 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetNthNodeDisplayPosition_66 ( HandleRef  pThis,
int  n,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetNthNodeSelected_67 ( HandleRef  pThis,
int  arg0 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetNthNodeWorldPosition_68 ( HandleRef  pThis,
int  n,
IntPtr  pos 
) [private]
static internal int Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetNthNodeWorldPosition_69 ( HandleRef  pThis,
int  n,
IntPtr  pos,
IntPtr  orient 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetPixelTolerance_70 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetPointPlacer_71 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetRebuildLocator_72 ( HandleRef  pThis,
byte  _arg 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetShowSelectedNodes_73 ( HandleRef  pThis,
int  arg0 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_SetWorldTolerance_74 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_StartWidgetInteraction_77 ( HandleRef  pThis,
IntPtr  e 
) [private]
static internal void Kitware.VTK.vtkContourRepresentation.vtkContourRepresentation_WidgetInteraction_79 ( HandleRef  pThis,
IntPtr  e 
) [private]
override void Kitware.VTK.vtkContourRepresentation.WidgetInteraction ( IntPtr  e) [virtual]

Member Data Documentation

new readonly string Kitware.VTK.vtkContourRepresentation.MRClassNameKey = "24vtkContourRepresentation" [static]
new const string Kitware.VTK.vtkContourRepresentation.MRFullTypeName = "Kitware.VTK.vtkContourRepresentation"

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