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

vtkTriangle - a cell that represents a triangle More...

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

List of all members.

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.
- Public Member Functions inherited from Kitware.VTK.vtkCell
 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().
- Public Member Functions inherited from Kitware.VTK.vtkObject
 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...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 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.
- Public Attributes inherited from Kitware.VTK.vtkCell
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
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.

Static Public Attributes

static new readonly string MRClassNameKey = "11vtkTriangle"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkCell
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

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.

Static Private Member Functions

static vtkTriangle ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTriangle - a cell that represents a triangle

Description vtkTriangle is a concrete implementation of vtkCell to represent a triangle located in 3-space.


Constructor & Destructor Documentation

static Kitware.VTK.vtkTriangle.vtkTriangle ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Kitware.VTK.vtkTriangle.vtkTriangle ( )

*Undocumented Block


Member Function Documentation

static int Kitware.VTK.vtkTriangle.BarycentricCoords ( IntPtr  x,
IntPtr  x1,
IntPtr  x2,
IntPtr  x3,
IntPtr  bcoords 
)
static

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.

override int Kitware.VTK.vtkTriangle.CellBoundary ( int  subId,
IntPtr  pcoords,
vtkIdList  pts 
)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

static double Kitware.VTK.vtkTriangle.Circumcircle ( IntPtr  p1,
IntPtr  p2,
IntPtr  p3,
IntPtr  center 
)
static

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.)

override void Kitware.VTK.vtkTriangle.Clip ( double  value,
vtkDataArray  cellScalars,
vtkIncrementalPointLocator  locator,
vtkCellArray  polys,
vtkPointData  inPd,
vtkPointData  outPd,
vtkCellData  inCd,
int  cellId,
vtkCellData  outCd,
int  insideOut 
)
virtual

Clip this triangle using scalar value provided. Like contouring, except that it cuts the triangle to produce other triangles.

Reimplemented from Kitware.VTK.vtkCell.

double Kitware.VTK.vtkTriangle.ComputeArea ( )

A convenience function to compute the area of a vtkTriangle.

static void Kitware.VTK.vtkTriangle.ComputeNormal ( vtkPoints  p,
int  numPts,
IntPtr  pts,
IntPtr  n 
)
static

Compute the triangle normal from a points list, and a list of point ids that index into the points list.

static void Kitware.VTK.vtkTriangle.ComputeNormal ( IntPtr  v1,
IntPtr  v2,
IntPtr  v3,
IntPtr  n 
)
static


static void Kitware.VTK.vtkTriangle.ComputeNormalDirection ( IntPtr  v1,
IntPtr  v2,
IntPtr  v3,
IntPtr  n 
)
static


static void Kitware.VTK.vtkTriangle.ComputeQuadric ( IntPtr  x1,
IntPtr  x2,
IntPtr  x3,
vtkQuadric  quadric 
)
static

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")

override void Kitware.VTK.vtkTriangle.Contour ( double  value,
vtkDataArray  cellScalars,
vtkIncrementalPointLocator  locator,
vtkCellArray  verts,
vtkCellArray  lines,
vtkCellArray  polys,
vtkPointData  inPd,
vtkPointData  outPd,
vtkCellData  inCd,
int  cellId,
vtkCellData  outCd 
)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override void Kitware.VTK.vtkTriangle.Derivatives ( int  subId,
IntPtr  pcoords,
IntPtr  values,
int  dim,
IntPtr  derivs 
)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override void Kitware.VTK.vtkTriangle.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.vtkCell.

override void Kitware.VTK.vtkTriangle.EvaluateLocation ( ref int  subId,
IntPtr  pcoords,
IntPtr  x,
IntPtr  weights 
)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override int Kitware.VTK.vtkTriangle.EvaluatePosition ( IntPtr  x,
IntPtr  closestPoint,
ref int  subId,
IntPtr  pcoords,
ref double  dist2,
IntPtr  weights 
)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override int Kitware.VTK.vtkTriangle.GetCellDimension ( )
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override int Kitware.VTK.vtkTriangle.GetCellType ( )
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override vtkCell Kitware.VTK.vtkTriangle.GetEdge ( int  edgeId)
virtual

Get the edge specified by edgeId (range 0 to 2) and return that edge's coordinates.

Reimplemented from Kitware.VTK.vtkCell.

Here is the call graph for this function:

IntPtr Kitware.VTK.vtkTriangle.GetEdgeArray ( int  edgeId)

Return the ids of the vertices defining edge (edgeId). Ids are related to the cell, not to the dataset.

override vtkCell Kitware.VTK.vtkTriangle.GetFace ( int  arg0)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

Here is the call graph for this function:

override int Kitware.VTK.vtkTriangle.GetNumberOfEdges ( )
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override int Kitware.VTK.vtkTriangle.GetNumberOfFaces ( )
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override int Kitware.VTK.vtkTriangle.GetParametricCenter ( IntPtr  pcoords)
virtual


Reimplemented from Kitware.VTK.vtkCell.

override IntPtr Kitware.VTK.vtkTriangle.GetParametricCoords ( )
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.

override double Kitware.VTK.vtkTriangle.GetParametricDistance ( IntPtr  pcoords)
virtual

Return the distance of the parametric coordinate provided to the cell. If inside the cell, a distance of zero is returned.

Reimplemented from Kitware.VTK.vtkCell.

override void Kitware.VTK.vtkTriangle.InterpolateDerivs ( IntPtr  pcoords,
IntPtr  derivs 
)
virtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Reimplemented from Kitware.VTK.vtkCell.

override void Kitware.VTK.vtkTriangle.InterpolateFunctions ( IntPtr  pcoords,
IntPtr  sf 
)
virtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Reimplemented from Kitware.VTK.vtkCell.

static void Kitware.VTK.vtkTriangle.InterpolationDerivs ( IntPtr  pcoords,
IntPtr  derivs 
)
static
static void Kitware.VTK.vtkTriangle.InterpolationFunctions ( IntPtr  pcoords,
IntPtr  sf 
)
static
override int Kitware.VTK.vtkTriangle.IntersectWithLine ( IntPtr  p1,
IntPtr  p2,
double  tol,
ref double  t,
IntPtr  x,
IntPtr  pcoords,
ref int  subId 
)
virtual

Plane intersection plus in/out test on triangle. The in/out test is performed using tol as the tolerance.

Reimplemented from Kitware.VTK.vtkCell.

override int Kitware.VTK.vtkTriangle.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkCell.

static new int Kitware.VTK.vtkTriangle.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkCell.

static new vtkTriangle Kitware.VTK.vtkTriangle.New ( )
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

new vtkTriangle Kitware.VTK.vtkTriangle.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkCell.

static int Kitware.VTK.vtkTriangle.PointInTriangle ( IntPtr  x,
IntPtr  x1,
IntPtr  x2,
IntPtr  x3,
double  tol2 
)
static

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 Kitware.VTK.vtkTriangle.ProjectTo2D ( IntPtr  x1,
IntPtr  x2,
IntPtr  x3,
IntPtr  v1,
IntPtr  v2,
IntPtr  v3 
)
static

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 Kitware.VTK.vtkTriangle.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkCell.

Here is the call graph for this function:

static double Kitware.VTK.vtkTriangle.TriangleArea ( IntPtr  p1,
IntPtr  p2,
IntPtr  p3 
)
static


static void Kitware.VTK.vtkTriangle.TriangleCenter ( IntPtr  p1,
IntPtr  p2,
IntPtr  p3,
IntPtr  center 
)
static


override int Kitware.VTK.vtkTriangle.Triangulate ( int  index,
vtkIdList  ptIds,
vtkPoints  pts 
)
virtual

See the vtkCell API for descriptions of these methods.

Reimplemented from Kitware.VTK.vtkCell.


Member Data Documentation

new readonly string Kitware.VTK.vtkTriangle.MRClassNameKey = "11vtkTriangle"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkCell.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkCell.


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