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

vtkSelectPolyData - select portion of polygonal mesh; generate selection scalars More...

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

List of all members.

Public Member Functions

 vtkSelectPolyData (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkSelectPolyData ()
 Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.
virtual void GenerateSelectionScalarsOff ()
 Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.
virtual void GenerateSelectionScalarsOn ()
 Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.
virtual void GenerateUnselectedOutputOff ()
 Control whether a second output is generated. The second output contains the polygonal data that's not been selected.
virtual void GenerateUnselectedOutputOn ()
 Control whether a second output is generated. The second output contains the polygonal data that's not been selected.
virtual int GetGenerateSelectionScalars ()
 Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.
virtual int GetGenerateUnselectedOutput ()
 Control whether a second output is generated. The second output contains the polygonal data that's not been selected.
virtual int GetInsideOut ()
 Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.
virtual vtkPoints GetLoop ()
 Set/Get the array of point coordinates defining the loop. There must be at least three points used to define a loop.
override uint GetMTime ()
 Overload GetMTime() because we depend on Loop.
vtkPolyData GetSelectionEdges ()
 Return the (mesh) edges of the selection region.
virtual int GetSelectionMode ()
 Control how inside/outside of loop is defined.
string GetSelectionModeAsString ()
 Return the method of determining in/out of loop as a string.
virtual int GetSelectionModeMaxValue ()
 Control how inside/outside of loop is defined.
virtual int GetSelectionModeMinValue ()
 Control how inside/outside of loop is defined.
vtkPolyData GetUnselectedOutput ()
 Return output that hasn't been selected (if GenreateUnselectedOutput is enabled).
virtual void InsideOutOff ()
 Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.
virtual void InsideOutOn ()
 Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.
override int IsA (string type)
 Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.
new vtkSelectPolyData NewInstance ()
 Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.
virtual void SetGenerateSelectionScalars (int _arg)
 Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.
virtual void SetGenerateUnselectedOutput (int _arg)
 Control whether a second output is generated. The second output contains the polygonal data that's not been selected.
virtual void SetInsideOut (int _arg)
 Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.
virtual void SetLoop (vtkPoints arg0)
 Set/Get the array of point coordinates defining the loop. There must be at least three points used to define a loop.
virtual void SetSelectionMode (int _arg)
 Control how inside/outside of loop is defined.
void SetSelectionModeToClosestPointRegion ()
 Control how inside/outside of loop is defined.
void SetSelectionModeToLargestRegion ()
 Control how inside/outside of loop is defined.
void SetSelectionModeToSmallestRegion ()
 Control how inside/outside of loop is defined.

Static Public Member Functions

static new vtkSelectPolyData New ()
 Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.
static new int IsTypeOf (string type)
 Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.
static new vtkSelectPolyData SafeDownCast (vtkObjectBase o)
 Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "17vtkSelectPolyData"
 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 vtkSelectPolyData_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSelectPolyData_GenerateSelectionScalarsOff_01 (HandleRef pThis)
static internal void vtkSelectPolyData_GenerateSelectionScalarsOn_02 (HandleRef pThis)
static internal void vtkSelectPolyData_GenerateUnselectedOutputOff_03 (HandleRef pThis)
static internal void vtkSelectPolyData_GenerateUnselectedOutputOn_04 (HandleRef pThis)
static internal int vtkSelectPolyData_GetGenerateSelectionScalars_05 (HandleRef pThis)
static internal int vtkSelectPolyData_GetGenerateUnselectedOutput_06 (HandleRef pThis)
static internal int vtkSelectPolyData_GetInsideOut_07 (HandleRef pThis)
static internal IntPtr vtkSelectPolyData_GetLoop_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkSelectPolyData_GetMTime_09 (HandleRef pThis)
static internal IntPtr vtkSelectPolyData_GetSelectionEdges_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSelectPolyData_GetSelectionMode_11 (HandleRef pThis)
static internal IntPtr vtkSelectPolyData_GetSelectionModeAsString_12 (HandleRef pThis)
static internal int vtkSelectPolyData_GetSelectionModeMaxValue_13 (HandleRef pThis)
static internal int vtkSelectPolyData_GetSelectionModeMinValue_14 (HandleRef pThis)
static internal IntPtr vtkSelectPolyData_GetUnselectedOutput_15 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSelectPolyData_InsideOutOff_16 (HandleRef pThis)
static internal void vtkSelectPolyData_InsideOutOn_17 (HandleRef pThis)
static internal int vtkSelectPolyData_IsA_18 (HandleRef pThis, string type)
static internal int vtkSelectPolyData_IsTypeOf_19 (string type)
static internal IntPtr vtkSelectPolyData_NewInstance_21 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkSelectPolyData_SafeDownCast_22 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSelectPolyData_SetGenerateSelectionScalars_23 (HandleRef pThis, int _arg)
static internal void vtkSelectPolyData_SetGenerateUnselectedOutput_24 (HandleRef pThis, int _arg)
static internal void vtkSelectPolyData_SetInsideOut_25 (HandleRef pThis, int _arg)
static internal void vtkSelectPolyData_SetLoop_26 (HandleRef pThis, HandleRef arg0)
static internal void vtkSelectPolyData_SetSelectionMode_27 (HandleRef pThis, int _arg)
static internal void vtkSelectPolyData_SetSelectionModeToClosestPointRegion_28 (HandleRef pThis)
static internal void vtkSelectPolyData_SetSelectionModeToLargestRegion_29 (HandleRef pThis)
static internal void vtkSelectPolyData_SetSelectionModeToSmallestRegion_30 (HandleRef pThis)

Static Private Member Functions

static vtkSelectPolyData ()
 Automatically generated type registration mechanics.

Detailed Description

vtkSelectPolyData - select portion of polygonal mesh; generate selection scalars

Description vtkSelectPolyData is a filter that selects polygonal data based on defining a "loop" and indicating the region inside of the loop. The mesh within the loop consists of complete cells (the cells are not cut). Alternatively, this filter can be used to generate scalars. These scalar values, which are a distance measure to the loop, can be used to clip, contour. or extract data (i.e., anything that an implicit function can do).

The loop is defined by an array of x-y-z point coordinates. (Coordinates should be in the same coordinate space as the input polygonal data.) The loop can be concave and non-planar, but not self-intersecting. The input to the filter is a polygonal mesh (only surface primitives such as triangle strips and polygons); the output is either a) a portion of the original mesh laying within the selection loop (GenerateSelectionScalarsOff); or b) the same polygonal mesh with the addition of scalar values (GenerateSelectionScalarsOn).

The algorithm works as follows. For each point coordinate in the loop, the closest point in the mesh is found. The result is a loop of closest point ids from the mesh. Then, the edges in the mesh connecting the closest points (and laying along the lines forming the loop) are found. A greedy edge tracking procedure is used as follows. At the current point, the mesh edge oriented in the direction of and whose end point is closest to the line is chosen. The edge is followed to the new end point, and the procedure is repeated. This process continues until the entire loop has been created.

To determine what portion of the mesh is inside and outside of the loop, three options are possible. 1) the smallest connected region, 2) the largest connected region, and 3) the connected region closest to a user specified point. (Set the ivar SelectionMode.)

Once the loop is computed as above, the GenerateSelectionScalars controls the output of the filter. If on, then scalar values are generated based on distance to the loop lines. Otherwise, the cells laying inside the selection loop are output. By default, the mesh lying within the loop is output; however, if InsideOut is on, then the portion of the mesh lying outside of the loop is output.

The filter can be configured to generate the unselected portions of the mesh as output by setting GenerateUnselectedOutput. Use the method GetUnselectedOutput to access this output. (Note: this flag is pertinent only when GenerateSelectionScalars is off.)


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.


Member Function Documentation

override void Kitware.VTK.vtkSelectPolyData.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.vtkPolyDataAlgorithm.

Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.

Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.

Control whether a second output is generated. The second output contains the polygonal data that's not been selected.

Control whether a second output is generated. The second output contains the polygonal data that's not been selected.

Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.

Control whether a second output is generated. The second output contains the polygonal data that's not been selected.

virtual int Kitware.VTK.vtkSelectPolyData.GetInsideOut ( ) [virtual]

Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.

Set/Get the array of point coordinates defining the loop. There must be at least three points used to define a loop.

Here is the call graph for this function:

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

Overload GetMTime() because we depend on Loop.

Reimplemented from Kitware.VTK.vtkObject.

Return the (mesh) edges of the selection region.

Here is the call graph for this function:

Control how inside/outside of loop is defined.

Return the method of determining in/out of loop as a string.

Control how inside/outside of loop is defined.

Control how inside/outside of loop is defined.

Return output that hasn't been selected (if GenreateUnselectedOutput is enabled).

Here is the call graph for this function:

virtual void Kitware.VTK.vtkSelectPolyData.InsideOutOff ( ) [virtual]

Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.

virtual void Kitware.VTK.vtkSelectPolyData.InsideOutOn ( ) [virtual]

Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.

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

Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Instantiate object with InsideOut turned off, and GenerateSelectionScalars turned off. The unselected output is not generated, and the inside mode is the smallest region.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkSelectPolyData.SetGenerateSelectionScalars ( int  _arg) [virtual]

Set/Get the flag to control behavior of the filter. If GenerateSelectionScalars is on, then the output of the filter is the same as the input, except that scalars are generated. If off, the filter outputs the cells laying inside the loop, and does not generate scalars.

virtual void Kitware.VTK.vtkSelectPolyData.SetGenerateUnselectedOutput ( int  _arg) [virtual]

Control whether a second output is generated. The second output contains the polygonal data that's not been selected.

virtual void Kitware.VTK.vtkSelectPolyData.SetInsideOut ( int  _arg) [virtual]

Set/Get the InsideOut flag. When off, the mesh within the loop is extracted. When on, the mesh outside the loop is extracted.

virtual void Kitware.VTK.vtkSelectPolyData.SetLoop ( vtkPoints  arg0) [virtual]

Set/Get the array of point coordinates defining the loop. There must be at least three points used to define a loop.

virtual void Kitware.VTK.vtkSelectPolyData.SetSelectionMode ( int  _arg) [virtual]

Control how inside/outside of loop is defined.

Control how inside/outside of loop is defined.

Control how inside/outside of loop is defined.

Control how inside/outside of loop is defined.

static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GenerateSelectionScalarsOff_01 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GenerateSelectionScalarsOn_02 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GenerateUnselectedOutputOff_03 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GenerateUnselectedOutputOn_04 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetGenerateSelectionScalars_05 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetGenerateUnselectedOutput_06 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetInsideOut_07 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetLoop_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal uint Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetMTime_09 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetSelectionEdges_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetSelectionMode_11 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetSelectionModeAsString_12 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetSelectionModeMaxValue_13 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetSelectionModeMinValue_14 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_GetUnselectedOutput_15 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_InsideOutOff_16 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_InsideOutOn_17 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_IsA_18 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_IsTypeOf_19 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_NewInstance_21 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_SafeDownCast_22 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_SetGenerateSelectionScalars_23 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_SetGenerateUnselectedOutput_24 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_SetInsideOut_25 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_SetLoop_26 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSelectPolyData.vtkSelectPolyData_SetSelectionMode_27 ( HandleRef  pThis,
int  _arg 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkSelectPolyData.MRClassNameKey = "17vtkSelectPolyData" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.


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