Public Member Functions |
| vtkDelaunay2D (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| Automatically generated constructor - called from generated code. DO NOT call directly.
|
| vtkDelaunay2D () |
| Construct object with Alpha = 0.0; Tolerance = 0.001; Offset = 1.25; BoundingTriangulation turned off.
|
virtual void | BoundingTriangulationOff () |
| Boolean controls whether bounding triangulation points (and associated triangles) are included in the output. (These are introduced as an initial triangulation to begin the triangulation process. This feature is nice for debugging output.)
|
virtual void | BoundingTriangulationOn () |
| Boolean controls whether bounding triangulation points (and associated triangles) are included in the output. (These are introduced as an initial triangulation to begin the triangulation process. This feature is nice for debugging output.)
|
virtual double | GetAlpha () |
| Specify alpha (or distance) value to control output of this filter. For a non-zero alpha value, only edges or triangles contained within a sphere centered at mesh vertices will be output. Otherwise, only triangles will be output.
|
virtual double | GetAlphaMaxValue () |
| Specify alpha (or distance) value to control output of this filter. For a non-zero alpha value, only edges or triangles contained within a sphere centered at mesh vertices will be output. Otherwise, only triangles will be output.
|
virtual double | GetAlphaMinValue () |
| Specify alpha (or distance) value to control output of this filter. For a non-zero alpha value, only edges or triangles contained within a sphere centered at mesh vertices will be output. Otherwise, only triangles will be output.
|
virtual int | GetBoundingTriangulation () |
| Boolean controls whether bounding triangulation points (and associated triangles) are included in the output. (These are introduced as an initial triangulation to begin the triangulation process. This feature is nice for debugging output.)
|
virtual double | GetOffset () |
| Specify a multiplier to control the size of the initial, bounding Delaunay triangulation.
|
virtual double | GetOffsetMaxValue () |
| Specify a multiplier to control the size of the initial, bounding Delaunay triangulation.
|
virtual double | GetOffsetMinValue () |
| Specify a multiplier to control the size of the initial, bounding Delaunay triangulation.
|
virtual int | GetProjectionPlaneMode () |
| Define
|
virtual int | GetProjectionPlaneModeMaxValue () |
| Define
|
virtual int | GetProjectionPlaneModeMinValue () |
| Define
|
vtkPolyData | GetSource () |
| Get a pointer to the source object.
|
virtual double | GetTolerance () |
| Specify a tolerance to control discarding of closely spaced points. This tolerance is specified as a fraction of the diagonal length of the bounding box of the points.
|
virtual double | GetToleranceMaxValue () |
| Specify a tolerance to control discarding of closely spaced points. This tolerance is specified as a fraction of the diagonal length of the bounding box of the points.
|
virtual double | GetToleranceMinValue () |
| Specify a tolerance to control discarding of closely spaced points. This tolerance is specified as a fraction of the diagonal length of the bounding box of the points.
|
virtual vtkAbstractTransform | GetTransform () |
| Set / get the transform which is applied to points to generate a 2D problem. This maps a 3D dataset into a 2D dataset where triangulation can be done on the XY plane. The points are transformed and triangulated. The topology of triangulated points is used as the output topology. The output points are the original (untransformed) points. The transform can be any subclass of vtkAbstractTransform (thus it does not need to be a linear or invertible transform).
|
override int | IsA (string type) |
| Undocumented Block
|
new vtkDelaunay2D | NewInstance () |
| Undocumented Block
|
virtual void | SetAlpha (double _arg) |
| Specify alpha (or distance) value to control output of this filter. For a non-zero alpha value, only edges or triangles contained within a sphere centered at mesh vertices will be output. Otherwise, only triangles will be output.
|
virtual void | SetBoundingTriangulation (int _arg) |
| Boolean controls whether bounding triangulation points (and associated triangles) are included in the output. (These are introduced as an initial triangulation to begin the triangulation process. This feature is nice for debugging output.)
|
virtual void | SetOffset (double _arg) |
| Specify a multiplier to control the size of the initial, bounding Delaunay triangulation.
|
virtual void | SetProjectionPlaneMode (int _arg) |
| Define
|
void | SetSource (vtkPolyData arg0) |
| Specify the source object used to specify constrained edges and loops. (This is optional.) If set, and lines/polygons are defined, a constrained triangulation is created. The lines/polygons are assumed to reference points in the input point set (i.e. point ids are identical in the input and source). Old style. See SetSourceConnection.
|
void | SetSourceConnection (vtkAlgorithmOutput algOutput) |
| Specify the source object used to specify constrained edges and loops. (This is optional.) If set, and lines/polygons are defined, a constrained triangulation is created. The lines/polygons are assumed to reference points in the input point set (i.e. point ids are identical in the input and source). New style. This method is equivalent to SetInputConnection(1, algOutput).
|
virtual void | SetTolerance (double _arg) |
| Specify a tolerance to control discarding of closely spaced points. This tolerance is specified as a fraction of the diagonal length of the bounding box of the points.
|
virtual void | SetTransform (vtkAbstractTransform arg0) |
| Set / get the transform which is applied to points to generate a 2D problem. This maps a 3D dataset into a 2D dataset where triangulation can be done on the XY plane. The points are transformed and triangulated. The topology of triangulated points is used as the output topology. The output points are the original (untransformed) points. The transform can be any subclass of vtkAbstractTransform (thus it does not need to be a linear or invertible transform).
|
| vtkPolyDataAlgorithm (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| Automatically generated constructor - called from generated code. DO NOT call directly.
|
| vtkPolyDataAlgorithm () |
| Undocumented Block
|
void | AddInput (vtkDataObject arg0) |
| Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
|
void | AddInput (int arg0, vtkDataObject arg1) |
| Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
|
vtkDataObject | GetInput () |
| this method is not recommended for use, but lots of old style filters use it
|
vtkDataObject | GetInput (int port) |
| this method is not recommended for use, but lots of old style filters use it
|
vtkPolyData | GetOutput () |
| Get the output data object for a port on this algorithm.
|
vtkPolyData | GetOutput (int arg0) |
| Get the output data object for a port on this algorithm.
|
vtkPolyData | GetPolyDataInput (int port) |
| this method is not recommended for use, but lots of old style filters use it
|
void | SetInput (vtkDataObject arg0) |
| Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
|
void | SetInput (int arg0, vtkDataObject arg1) |
| Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
|
virtual void | SetOutput (vtkDataObject d) |
| Get the output data object for a port on this algorithm.
|
| vtkAlgorithm (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| Automatically generated constructor - called from generated code. DO NOT call directly.
|
| vtkAlgorithm () |
| Undocumented Block
|
override void | Register (vtkObjectBase o) |
| Participate in garbage collection.
|
virtual void | AbortExecuteOff () |
| Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
|
virtual void | AbortExecuteOn () |
| Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
|
virtual void | AddInputConnection (int port, vtkAlgorithmOutput input) |
| Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is
|
virtual void | AddInputConnection (vtkAlgorithmOutput input) |
| Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is
|
virtual double | ComputePriority () |
| Returns the priority of the piece described by the current update extent. The priority is a number between 0.0 and 1.0 with 0 meaning skippable (REQUEST_DATA not needed) and 1.0 meaning important.
|
void | ConvertTotalInputToPortConnection (int ind, ref int port, ref int conn) |
| Convenience routine to convert from a linear ordering of input connections to a port/connection pair.
|
virtual int | GetAbortExecute () |
| Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
|
virtual uint | GetErrorCode () |
| The error code contains a possible error that occured while reading or writing the file.
|
vtkExecutive | GetExecutive () |
| Get this algorithm's executive. If it has none, a default executive will be created.
|
virtual vtkInformation | GetInformation () |
| Set/Get the information object associated with this algorithm.
|
vtkInformation | GetInputArrayInformation (int idx) |
| Get the info object for the specified input array to this algorithm
|
vtkAlgorithmOutput | GetInputConnection (int port, int index) |
| Get the algorithm output port connected to an input port.
|
vtkDataObject | GetInputDataObject (int port, int connection) |
| Get the data object that will contain the algorithm input for the given port and given connection.
|
vtkInformation | GetInputPortInformation (int port) |
| Get the information object associated with an input port. There is one input port per kind of input to the algorithm. Each input port tells executives what kind of data and downstream requests this algorithm can handle for that input.
|
int | GetNumberOfInputConnections (int port) |
| Get the number of inputs currently connected to a port.
|
int | GetNumberOfInputPorts () |
| Get the number of input ports used by the algorithm.
|
int | GetNumberOfOutputPorts () |
| Get the number of output ports provided by the algorithm.
|
vtkDataObject | GetOutputDataObject (int port) |
| Get the data object that will contain the algorithm output for the given port.
|
vtkAlgorithmOutput | GetOutputPort (int index) |
| Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm's SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.
|
vtkAlgorithmOutput | GetOutputPort () |
| Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm's SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.
|
vtkInformation | GetOutputPortInformation (int port) |
| Get the information object associated with an output port. There is one output port per output from the algorithm. Each output port tells executives what kind of upstream requests this algorithm can handle for that output.
|
virtual double | GetProgress () |
| Set/Get the execution progress of a process object.
|
virtual double | GetProgressMaxValue () |
| Set/Get the execution progress of a process object.
|
virtual double | GetProgressMinValue () |
| Set/Get the execution progress of a process object.
|
virtual string | GetProgressText () |
| Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().
|
virtual int | GetReleaseDataFlag () |
| Turn release data flag on or off for all output ports.
|
int | GetTotalNumberOfInputConnections () |
| Get the total number of inputs for this algorithm
|
int | HasExecutive () |
| Check whether this algorithm has an assigned executive. This will NOT create a default executive.
|
virtual int | ModifyRequest (vtkInformation request, int when) |
| This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded. The default implementation is empty. Returns 1 on success, 0 on failure. When can be either vtkExecutive::BeforeForward or vtkExecutive::AfterForward.
|
int | ProcessRequest (vtkInformation request, vtkCollection inInfo, vtkInformationVector outInfo) |
| Version of ProcessRequest() that is wrapped. This converts the collection to an array and calls the other version.
|
void | ReleaseDataFlagOff () |
| Turn release data flag on or off for all output ports.
|
void | ReleaseDataFlagOn () |
| Turn release data flag on or off for all output ports.
|
void | RemoveAllInputs () |
| Remove all the input data.
|
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput input) |
| Remove a connection from the given input port index. See SetInputConnection() for details on input connection. This method is the complement to AddInputConnection() in that it removes only the connection specified without affecting other connections. Typical usage is
|
virtual void | SetAbortExecute (int _arg) |
| Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
|
virtual void | SetExecutive (vtkExecutive executive) |
| Set this algorithm's executive. This algorithm is removed from any executive to which it has previously been assigned and then assigned to the given executive.
|
virtual void | SetInformation (vtkInformation arg0) |
| Set/Get the information object associated with this algorithm.
|
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, string name) |
| Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
|
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
| Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
|
virtual void | SetInputArrayToProcess (int idx, vtkInformation info) |
| Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
|
virtual void | SetInputArrayToProcess (int idx, int port, int connection, string fieldAssociation, string attributeTypeorName) |
| String based versions of SetInputArrayToProcess(). Because fieldAssociation and fieldAttributeType are enums, they cannot be easily accessed from scripting language. These methods provides an easy and safe way of passing association and attribute type information. Field association is one of the following:
|
virtual void | SetInputConnection (int port, vtkAlgorithmOutput input) |
| Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().
|
virtual void | SetInputConnection (vtkAlgorithmOutput input) |
| Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().
|
virtual void | SetProgress (double _arg) |
| Set/Get the execution progress of a process object.
|
void | SetProgressText (string ptext) |
| Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().
|
virtual void | SetReleaseDataFlag (int arg0) |
| Turn release data flag on or off for all output ports.
|
virtual void | Update () |
| Bring this algorithm's outputs up-to-date.
|
int | UpdateExtentIsEmpty (vtkDataObject output) |
| This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.
|
int | UpdateExtentIsEmpty (vtkInformation pinfo, int extentType) |
| This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.
|
virtual void | UpdateInformation () |
| Backward compatibility method to invoke UpdateInformation on executive.
|
void | UpdateProgress (double amount) |
| Update the progress of the process object. If a ProgressMethod exists, executes it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).
|
virtual void | UpdateWholeExtent () |
| Bring this algorithm's outputs up-to-date.
|
| vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| Automatically generated constructor - called from generated code. DO NOT call directly.
|
| vtkObject () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
virtual void | DebugOff () |
| Turn debugging output off.
|
virtual void | DebugOn () |
| Turn debugging output on.
|
vtkCommand | GetCommand (uint tag) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
byte | GetDebug () |
| Get the value of the debug flag.
|
virtual uint | GetMTime () |
| Return this object's modified time.
|
int | HasObserver (uint arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | HasObserver (string arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | HasObserver (uint arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | HasObserver (string arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | InvokeEvent (uint arg0, IntPtr callData) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | InvokeEvent (string arg0, IntPtr callData) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | InvokeEvent (uint arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
int | InvokeEvent (string arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
virtual void | Modified () |
| Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
|
void | RemoveAllObservers () |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | RemoveObserver (vtkCommand arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | RemoveObserver (uint tag) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | RemoveObservers (uint arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | RemoveObservers (string arg0, vtkCommand arg1) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | RemoveObservers (uint arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | RemoveObservers (string arg0) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
void | SetDebug (byte debugFlag) |
| Set the value of the debug flag. A non-zero value turns debugging on.
|
override string | ToString () |
| Returns the result of calling vtkObject::Print as a C# string.
|
delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
| Generic signature for all vtkObject events.
|
void | RemoveAllHandlersForAllEvents () |
| Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
|
| vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| Automatically generated constructor - called from generated code. DO NOT call directly.
|
| vtkObjectBase () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
virtual void | FastDelete () |
| Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
|
string | GetClassName () |
| Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
|
int | GetReferenceCount () |
| Return the current reference count of this object.
|
void | SetReferenceCount (int arg0) |
| Sets the reference count. (This is very dangerous, use with care.)
|
vtkDelaunay2D - create 2D Delaunay triangulation of input points
Description vtkDelaunay2D is a filter that constructs a 2D Delaunay triangulation from a list of input points. These points may be represented by any dataset of type vtkPointSet and subclasses. The output of the filter is a polygonal dataset. Usually the output is a triangle mesh, but if a non-zero alpha distance value is specified (called the "alpha" value), then only triangles, edges, and vertices lying within the alpha radius are output. In other words, non-zero alpha values may result in arbitrary combinations of triangles, lines, and vertices. (The notion of alpha value is derived from Edelsbrunner's work on "alpha shapes".) Also, it is possible to generate "constrained triangulations" using this filter. A constrained triangulation is one where edges and loops (i.e., polygons) can be defined and the triangulation will preserve them (read on for more information).
The 2D Delaunay triangulation is defined as the triangulation that satisfies the Delaunay criterion for n-dimensional simplexes (in this case n=2 and the simplexes are triangles). This criterion states that a circumsphere of each simplex in a triangulation contains only the n+1 defining points of the simplex. (See "The Visualization Toolkit" text for more information.) In two dimensions, this translates into an optimal triangulation. That is, the maximum interior angle of any triangle is less than or equal to that of any possible triangulation.
Delaunay triangulations are used to build topological structures from unorganized (or unstructured) points. The input to this filter is a list of points specified in 3D, even though the triangulation is 2D. Thus the triangulation is constructed in the x-y plane, and the z coordinate is ignored (although carried through to the output). If you desire to triangulate in a different plane, you can use the vtkTransformFilter to transform the points into and out of the x-y plane or you can specify a transform to the Delaunay2D directly. In the latter case, the input points are transformed, the transformed points are triangulated, and the output will use the triangulated topology for the original (non-transformed) points. This avoids transforming the data back as would be required when using the vtkTransformFilter method. Specifying a transform directly also allows any transform to be used: rigid, non-rigid, non-invertible, etc.
If an input transform is used, then alpha values are applied (for the most part) in the original data space. The exception is when BoundingTriangulation is on. In this case, alpha values are applied in the original data space unless a cell uses a bounding vertex.
The Delaunay triangulation can be numerically sensitive in some cases. To prevent problems, try to avoid injecting points that will result in triangles with bad aspect ratios (1000:1 or greater). In practice this means inserting points that are "widely dispersed", and enables smooth transition of triangle sizes throughout the mesh. (You may even want to add extra points to create a better point distribution.) If numerical problems are present, you will see a warning message to this effect at the end of the triangulation process.
To create constrained meshes, you must define an additional input. This input is an instance of vtkPolyData which contains lines, polylines, and/or polygons that define constrained edges and loops. Only the topology of (lines and polygons) from this second input are used. The topology is assumed to reference points in the input point set (the one to be triangulated). In other words, the lines and polygons use point ids from the first input point set. Lines and polylines found in the input will be mesh edges in the output. Polygons define a loop with inside and outside regions. The inside of the polygon is determined by using the right-hand-rule, i.e., looking down the z-axis a polygon should be ordered counter-clockwise. Holes in a polygon should be ordered clockwise. If you choose to create a constrained triangulation, the final mesh may not satisfy the Delaunay criterion. (Noted: the lines/polygon edges must not intersect when projected onto the 2D plane. It may not be possible to recover all edges due to not enough points in the triangulation, or poorly defined edges (coincident or excessively long). The form of the lines or polygons is a list of point ids that correspond to the input point ids used to generate the triangulation.)
If an input transform is used, constraints are defined in the "transformed" space. So when the right hand rule is used for a polygon constraint, that operation is applied using the transformed points. Since the input transform can be any transformation (rigid or non-rigid), care must be taken in constructing constraints when an input transform is used.