Public Member Functions |
| | vtkTriangle (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkTriangle () |
| | *Undocumented Block
|
| override int | CellBoundary (int subId, IntPtr pcoords, vtkIdList pts) |
| | See the vtkCell API for descriptions of these methods.
|
| override void | Clip (double value, vtkDataArray cellScalars, vtkIncrementalPointLocator locator, vtkCellArray polys, vtkPointData inPd, vtkPointData outPd, vtkCellData inCd, int cellId, vtkCellData outCd, int insideOut) |
| | Clip this triangle using scalar value provided. Like contouring, except that it cuts the triangle to produce other triangles.
|
| double | ComputeArea () |
| | A convenience function to compute the area of a vtkTriangle.
|
| override void | Contour (double value, vtkDataArray cellScalars, vtkIncrementalPointLocator locator, vtkCellArray verts, vtkCellArray lines, vtkCellArray polys, vtkPointData inPd, vtkPointData outPd, vtkCellData inCd, int cellId, vtkCellData outCd) |
| | See the vtkCell API for descriptions of these methods.
|
| override void | Derivatives (int subId, IntPtr pcoords, IntPtr values, int dim, IntPtr derivs) |
| | See the vtkCell API for descriptions of these methods.
|
| override void | EvaluateLocation (ref int subId, IntPtr pcoords, IntPtr x, IntPtr weights) |
| | See the vtkCell API for descriptions of these methods.
|
| override int | EvaluatePosition (IntPtr x, IntPtr closestPoint, ref int subId, IntPtr pcoords, ref double dist2, IntPtr weights) |
| | See the vtkCell API for descriptions of these methods.
|
| override int | GetCellDimension () |
| | See the vtkCell API for descriptions of these methods.
|
| override int | GetCellType () |
| | See the vtkCell API for descriptions of these methods.
|
| override vtkCell | GetEdge (int edgeId) |
| | Get the edge specified by edgeId (range 0 to 2) and return that edge's coordinates.
|
| IntPtr | GetEdgeArray (int edgeId) |
| | Return the ids of the vertices defining edge (edgeId). Ids are related to the cell, not to the dataset.
|
| override vtkCell | GetFace (int arg0) |
| | See the vtkCell API for descriptions of these methods.
|
| override int | GetNumberOfEdges () |
| | See the vtkCell API for descriptions of these methods.
|
| override int | GetNumberOfFaces () |
| | See the vtkCell API for descriptions of these methods.
|
| override int | GetParametricCenter (IntPtr pcoords) |
| |
|
| override IntPtr | GetParametricCoords () |
| | See the vtkCell API for descriptions of these methods.
|
| override double | GetParametricDistance (IntPtr pcoords) |
| | Return the distance of the parametric coordinate provided to the cell. If inside the cell, a distance of zero is returned.
|
| override void | InterpolateDerivs (IntPtr pcoords, IntPtr derivs) |
| | Compute the interpolation functions/derivatives (aka shape functions/derivatives)
|
| override void | InterpolateFunctions (IntPtr pcoords, IntPtr sf) |
| | Compute the interpolation functions/derivatives (aka shape functions/derivatives)
|
| override int | IntersectWithLine (IntPtr p1, IntPtr p2, double tol, ref double t, IntPtr x, IntPtr pcoords, ref int subId) |
| | Plane intersection plus in/out test on triangle. The in/out test is performed using tol as the tolerance.
|
| override int | IsA (string type) |
| | *Undocumented Block
|
| new vtkTriangle | NewInstance () |
| | *Undocumented Block
|
| override int | Triangulate (int index, vtkIdList ptIds, vtkPoints pts) |
| | See the vtkCell API for descriptions of these methods.
|
| | vtkCell (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| virtual void | DeepCopy (vtkCell c) |
| | Copy this cell by completely copying internal data structures. This is slower but safer than ShallowCopy().
|
| void | GetBounds (IntPtr bounds) |
| | Compute cell bounding box (xmin,xmax,ymin,ymax,zmin,zmax). Copy result into user provided array.
|
| double[] | GetBounds () |
| | Compute cell bounding box (xmin,xmax,ymin,ymax,zmin,zmax). Return pointer to array of six double values.
|
| virtual IntPtr | GetFaces () |
| | Determine whether the cell requires explicit face representation, and methods for setting and getting the faces (see vtkPolyhedron for example usage of these methods).
|
| double | GetLength2 () |
| | Compute Length squared of cell (i.e., bounding box diagonal squared).
|
| int | GetNumberOfPoints () |
| | Return the number of points in the cell.
|
| int | GetPointId (int ptId) |
| | For cell point i, return the actual point id.
|
| vtkIdList | GetPointIds () |
| | Return the list of point ids defining the cell.
|
| vtkPoints | GetPoints () |
| | Get the point coordinates for the cell.
|
| void | Initialize (int npts, IntPtr pts, vtkPoints p) |
| | Initialize cell from outside with point ids and point coordinates specified.
|
| virtual void | Initialize () |
| | Some cells require initialization prior to access. For example, they may have to triangulate themselves or set up internal data structures.
|
| virtual int | IsExplicitCell () |
| | Explicit cells require additional representational information beyond the usual cell type and connectivity list information. Most cells in VTK are implicit cells.
|
| virtual int | IsLinear () |
| | Non-linear cells require special treatment beyond the usual cell type and connectivity list information. Most cells in VTK are implicit cells.
|
| virtual int | IsPrimaryCell () |
| | Return whether this cell type has a fixed topology or whether the topology varies depending on the data (e.g., vtkConvexPointSet). This compares to composite cells that are typically composed of primary cells (e.g., a triangle strip composite cell is made up of triangle primary cells).
|
| virtual int | RequiresExplicitFaceRepresentation () |
| | Determine whether the cell requires explicit face representation, and methods for setting and getting the faces (see vtkPolyhedron for example usage of these methods).
|
| virtual int | RequiresInitialization () |
| | Some cells require initialization prior to access. For example, they may have to triangulate themselves or set up internal data structures.
|
| virtual void | SetFaces (IntPtr arg0) |
| | Determine whether the cell requires explicit face representation, and methods for setting and getting the faces (see vtkPolyhedron for example usage of these methods).
|
| virtual void | ShallowCopy (vtkCell c) |
| | Copy this cell by reference counting the internal data structures. This is safe if you want a "read-only" copy. If you modify the cell you might wish to use DeepCopy().
|
| | 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 | Register (vtkObjectBase o) |
| | Increase the reference count (mark as used by another object).
|
| 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.)
|
Static Public Member Functions |
| static new vtkTriangle | New () |
| | *Undocumented Block
|
| static int | BarycentricCoords (IntPtr x, IntPtr x1, IntPtr x2, IntPtr x3, IntPtr bcoords) |
| | Given a 2D point x[2], determine the barycentric coordinates of the point. Barycentric coordinates are a natural coordinate system for simplices that express a position as a linear combination of the vertices. For a triangle, there are three barycentric coordinates (because there are three vertices), and the sum of the coordinates must equal 1. If a point x is inside a simplex, then all three coordinates will be strictly positive. If two coordinates are zero (so the third =1), then the point x is on a vertex. If one coordinates are zero, the point x is on an edge. In this method, you must specify the vertex coordinates x1->x3. Returns 0 if triangle is degenerate.
|
| static double | Circumcircle (IntPtr p1, IntPtr p2, IntPtr p3, IntPtr center) |
| | Compute the circumcenter (center[3]) and radius squared (method return value) of a triangle defined by the three points x1, x2, and x3. (Note that the coordinates are 2D. 3D points can be used but the z-component will be ignored.)
|
| static void | ComputeNormal (vtkPoints p, int numPts, IntPtr pts, IntPtr n) |
| | Compute the triangle normal from a points list, and a list of point ids that index into the points list.
|
| static void | ComputeNormal (IntPtr v1, IntPtr v2, IntPtr v3, IntPtr n) |
| |
|
| static void | ComputeNormalDirection (IntPtr v1, IntPtr v2, IntPtr v3, IntPtr n) |
| |
|
| static void | ComputeQuadric (IntPtr x1, IntPtr x2, IntPtr x3, vtkQuadric quadric) |
| | Calculate the error quadric for this triangle. Return the quadric as a 4x4 matrix or a vtkQuadric. (from Peter Lindstrom's Siggraph 2000 paper, "Out-of-Core Simplification of Large Polygonal Models")
|
| static void | InterpolationDerivs (IntPtr pcoords, IntPtr derivs) |
| static void | InterpolationFunctions (IntPtr pcoords, IntPtr sf) |
| static new int | IsTypeOf (string type) |
| | *Undocumented Block
|
| static int | PointInTriangle (IntPtr x, IntPtr x1, IntPtr x2, IntPtr x3, double tol2) |
| | Given a point x, determine whether it is inside (within the tolerance squared, tol2) the triangle defined by the three coordinate values p1, p2, p3. Method is via comparing dot products. (Note: in current implementation the tolerance only works in the neighborhood of the three vertices of the triangle.
|
| static int | ProjectTo2D (IntPtr x1, IntPtr x2, IntPtr x3, IntPtr v1, IntPtr v2, IntPtr v3) |
| | Project triangle defined in 3D to 2D coordinates. Returns 0 if degenerate triangle; non-zero value otherwise. Input points are x1->x3; output 2D points are v1->v3.
|
| static new vtkTriangle | SafeDownCast (vtkObjectBase o) |
| | *Undocumented Block
|
| static double | TriangleArea (IntPtr p1, IntPtr p2, IntPtr p3) |
| |
|
| static void | TriangleCenter (IntPtr p1, IntPtr p2, IntPtr p3, IntPtr center) |
| |
|
Public Attributes |
| new const string | MRFullTypeName = "Kitware.VTK.vtkTriangle" |
| | Automatically generated type registration mechanics.
|
| const string | vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so" |
| | Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
|
| const string | vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so" |
| | Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
|
| const string | vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so" |
| | Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
|
| const string | vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so" |
| | Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
|
| const string | vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so" |
| | Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
|
| const string | vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so" |
| | Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
|
| const string | vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so" |
| | Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
|
| const string | vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so" |
| | Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
|
| const string | vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so" |
| | Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
|
| const string | vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so" |
| | Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
|
| const string | vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so" |
| | Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
|
| const string | vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so" |
| | Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
|
| const string | vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so" |
| | Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
|
| const string | vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so" |
| | Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
|
| const string | vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so" |
| | Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.
|