|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vtk.vtkObjectBase vtk.vtkObject vtk.vtkCell vtk.vtkTriangle
vtkTriangle - a cell that represents a triangle. vtkTriangle is a concrete implementation of vtkCell to represent a triangle located in 3-space. JavaBean wrapper for vtkTriangle object.
Field Summary | |
protected java.beans.PropertyChangeSupport |
changes
|
Fields inherited from class vtk.vtkObjectBase |
vtkId |
Constructor Summary | |
|
vtkTriangle()
|
protected |
vtkTriangle(int dmy)
|
Method Summary | |
int |
barycentricCoords(double[] id0,
double[] id1,
double[] id2,
double[] id3,
double[] id4)
Given a 2D point x[2], determine the barycentric coordinates of the point. |
int |
cellBoundary(int id0,
double[] id1,
vtkIdList id2)
See the vtkCell API for descriptions of these methods. |
double |
circumcircle(double[] id0,
double[] id1,
double[] id2,
double[] id3)
Compute the circumcenter (center[3]) and radius squared (method return value) of a triangle defined by the three points x1, x2, and x3. |
void |
clip(double id0,
vtkDataArray id1,
vtkPointLocator id2,
vtkCellArray id3,
vtkPointData id4,
vtkPointData id5,
vtkCellData id6,
int id7,
vtkCellData id8,
int id9)
Clip this triangle using scalar value provided. |
void |
computeNormal(double[] id0,
double[] id1,
double[] id2,
double[] id3)
Compute the triangle normal from three points. |
void |
computeNormalDirection(double[] id0,
double[] id1,
double[] id2,
double[] id3)
Compute the (unnormalized) triangle normal direction from three points. |
void |
computeQuadric(double[] id0,
double[] id1,
double[] id2,
vtkQuadric id3)
Calculate the error quadric for this triangle. |
void |
contour(double id0,
vtkDataArray id1,
vtkPointLocator id2,
vtkCellArray id3,
vtkCellArray id4,
vtkCellArray id5,
vtkPointData id6,
vtkPointData id7,
vtkCellData id8,
int id9,
vtkCellData id10)
See the vtkCell API for descriptions of these methods. |
int |
getCellDimension()
See the vtkCell API for descriptions of these methods. |
int |
getCellType()
See the vtkCell API for descriptions of these methods. |
java.lang.String |
getClassName()
Return the class name as a string. |
vtkCell |
getEdge(int id0)
Get the edge specified by edgeId (range 0 to 2) and return that edge's coordinates. |
vtkCell |
getFace(int id0)
See the vtkCell API for descriptions of these methods. |
int |
getNumberOfEdges()
See the vtkCell API for descriptions of these methods. |
int |
getNumberOfFaces()
See the vtkCell API for descriptions of these methods. |
int |
getParametricCenter(double[] id0)
Return the center of the triangle in parametric coordinates. |
double |
getParametricDistance(double[] id0)
Return the distance of the parametric coordinate provided to the cell. |
vtkTriangle |
getThisTriangle()
|
int |
isA(java.lang.String id0)
Return 1 if this class is the same type of (or a subclass of) the named class. |
int |
pointInTriangle(double[] id0,
double[] id1,
double[] id2,
double[] id3,
double id4)
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. |
int |
projectTo2D(double[] id0,
double[] id1,
double[] id2,
double[] id3,
double[] id4,
double[] id5)
Project triangle defined in 3D to 2D coordinates. |
double |
triangleArea(double[] id0,
double[] id1,
double[] id2)
Compute the area of a triangle in 3D. |
void |
triangleCenter(double[] id0,
double[] id1,
double[] id2,
double[] id3)
Compute the center of the triangle. |
int |
triangulate(int id0,
vtkIdList id1,
vtkPoints id2)
See the vtkCell API for descriptions of these methods. |
protected void |
VTKCastInit()
|
void |
VTKInit()
|
Methods inherited from class vtk.vtkCell |
deepCopy, getBounds, getBounds, getLength2, getNumberOfPoints, getPointId, getPointIds, getPoints, getThisCell, initialize, isExplicitCell, isLinear, isPrimaryCell, requiresInitialization, shallowCopy |
Methods inherited from class vtk.vtkObject |
AddObserver, breakOnError, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay, unRegister |
Methods inherited from class vtk.vtkObjectBase |
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.beans.PropertyChangeSupport changes
Constructor Detail |
public vtkTriangle()
protected vtkTriangle(int dmy)
Method Detail |
public vtkTriangle getThisTriangle()
public java.lang.String getClassName()
vtkObjectBase
getClassName
in class vtkCell
public int isA(java.lang.String id0)
vtkObjectBase
isA
in class vtkCell
public vtkCell getEdge(int id0)
getEdge
in class vtkCell
public int getCellType()
getCellType
in class vtkCell
public int getCellDimension()
getCellDimension
in class vtkCell
public int getNumberOfEdges()
getNumberOfEdges
in class vtkCell
public int getNumberOfFaces()
getNumberOfFaces
in class vtkCell
public vtkCell getFace(int id0)
getFace
in class vtkCell
public int cellBoundary(int id0, double[] id1, vtkIdList id2)
cellBoundary
in class vtkCell
public void contour(double id0, vtkDataArray id1, vtkPointLocator id2, vtkCellArray id3, vtkCellArray id4, vtkCellArray id5, vtkPointData id6, vtkPointData id7, vtkCellData id8, int id9, vtkCellData id10)
contour
in class vtkCell
public int triangulate(int id0, vtkIdList id1, vtkPoints id2)
triangulate
in class vtkCell
public void clip(double id0, vtkDataArray id1, vtkPointLocator id2, vtkCellArray id3, vtkPointData id4, vtkPointData id5, vtkCellData id6, int id7, vtkCellData id8, int id9)
clip
in class vtkCell
public int getParametricCenter(double[] id0)
getParametricCenter
in class vtkCell
public double getParametricDistance(double[] id0)
getParametricDistance
in class vtkCell
public void triangleCenter(double[] id0, double[] id1, double[] id2, double[] id3)
public double triangleArea(double[] id0, double[] id1, double[] id2)
public double circumcircle(double[] id0, double[] id1, double[] id2, double[] id3)
public int barycentricCoords(double[] id0, double[] id1, double[] id2, double[] id3, double[] id4)
public int projectTo2D(double[] id0, double[] id1, double[] id2, double[] id3, double[] id4, double[] id5)
public void computeNormal(double[] id0, double[] id1, double[] id2, double[] id3)
public void computeNormalDirection(double[] id0, double[] id1, double[] id2, double[] id3)
public int pointInTriangle(double[] id0, double[] id1, double[] id2, double[] id3, double id4)
public void computeQuadric(double[] id0, double[] id1, double[] id2, vtkQuadric id3)
public void VTKInit()
VTKInit
in class vtkObject
protected void VTKCastInit()
VTKCastInit
in class vtkCell
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |