HE_Mesh2014
2.0.11
|
Public Member Functions | |
HE_Vertex () | |
HE_Vertex (final double x, final double y, final double z) | |
HE_Vertex (final WB_Coordinate v) | |
HE_Vertex | get () |
HE_Halfedge | getHalfedge () |
void | setHalfedge (final HE_Halfedge halfedge) |
void | set (final HE_Vertex v) |
WB_Point | getOffset (final double d) |
WB_ClassificationConvex | getVertexType () |
String | toString () |
void | clearHalfedge () |
long | key () |
List< HE_Halfedge > | getHalfedgeStar () |
List< HE_Halfedge > | getEdgeStar () |
List< HE_Face > | getFaceStar () |
List< HE_Vertex > | getNeighborVertices () |
List< HE_Vertex > | getVertexStar () |
List< HE_Vertex > | getNextNeighborVertices () |
WB_Point[] | getNeighborsAsPoints () |
int | getVertexOrder () |
double | getVertexArea () |
void | setData (final String s, final Object o) |
Object | getData (final String s) |
boolean | isBoundary () |
WB_Point | getPoint () |
double | xd () |
double | yd () |
double | zd () |
double | wd () |
double | getd (final int i) |
float | xf () |
float | yf () |
float | zf () |
float | wf () |
float | getf (final int i) |
int | compareTo (final WB_Coordinate p) |
void | apply (final WB_Transform T) |
void | setX (final double x) |
void | setY (final double y) |
void | setZ (final double z) |
void | setW (final double w) |
void | setCoord (final int i, final double v) |
void | set (final WB_Coordinate p) |
void | set (final double x, final double y) |
void | set (final double x, final double y, final double z) |
void | set (final double x, final double y, final double z, final double w) |
int | getColor () |
void | setColor (final int color) |
WB_CoordinateSystem | getCS () |
WB_Vector | getVertexNormal () |
double | getGaussianCurvature (final WB_Vector meanCurvatureVector) |
double | getGaussianCurvature () |
WB_CoordinateSystem | getCurvatureDirections () |
void | copyProperties (final HE_Vertex el) |
void | clear () |
double | getUmbrellaAngle () |
HE_Halfedge | getHalfedge (final HE_Face f) |
void | clearUVW () |
void | setUVW (final double u, final double v, final double w) |
void | setUVW (final WB_Coordinate uvw) |
void | setUVW (final HE_TextureCoordinate uvw) |
boolean | hasTexture (final HE_Face f) |
boolean | hasVertexTexture () |
boolean | hasHalfedgeTexture (final HE_Face f) |
HE_TextureCoordinate | getVertexUVW () |
HE_TextureCoordinate | getHalfedgeUVW (final HE_Face f) |
HE_TextureCoordinate | getUVW (final HE_Face f) |
![]() | |
HE_Element () | |
final void | setInternalLabel (final int label) |
final void | setLabel (final int label) |
final long | getKey () |
final int | getInternalLabel () |
final int | getLabel () |
int | hashCode () |
boolean | equals (final Object other) |
void | copyProperties (final HE_Element el) |
abstract void | clear () |
![]() | |
void | setX (double x) |
void | setY (double y) |
void | setZ (double z) |
void | setW (double w) |
void | setCoord (int i, double v) |
void | set (WB_Coordinate p) |
void | set (double x, double y) |
void | set (double x, double y, double z) |
void | set (double x, double y, double z, double w) |
![]() | |
double | getd (int i) |
float | getf (int i) |
![]() | |
Object | getData (String s) |
void | setData (String s, Object o) |
![]() | |
void | setColor (int color) |
Static Public Member Functions | |
static int | compare (final double a, final double b) |
Private Member Functions | |
WB_Vector | findOptimalSolution (final WB_Vector normal, final WB_Vector t1, final WB_Vector t2) |
Static Private Member Functions | |
static double | computeNormal3D (final WB_Point p0, final WB_Point p1, final WB_Point p2, WB_Vector tempD1, WB_Vector tempD2, final WB_Vector ret) |
Private Attributes | |
WB_Point | pos |
HE_Halfedge | _halfedge |
HashMap< String, Object > | _data |
int | vertexcolor |
HE_TextureCoordinate | uvw = null |
Additional Inherited Members | |
![]() | |
final long | _key |
![]() | |
static long | _currentKey |
static final WB_GeometryFactory | geometryfactory |
Vertex element of half-edge mesh.
wblut.hemesh.HE_Vertex.HE_Vertex | ( | ) |
Instantiates a new HE_Vertex.
wblut.hemesh.HE_Vertex.HE_Vertex | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
Instantiates a new HE_Vertex at position x, y, z.
x | x-coordinate of vertex |
y | y-coordinate of vertex |
z | z-coordinate of vertex |
wblut.hemesh.HE_Vertex.HE_Vertex | ( | final WB_Coordinate | v | ) |
Instantiates a new HE_Vertex at position v.
v | position of vertex |
void wblut.hemesh.HE_Vertex.apply | ( | final WB_Transform | T | ) |
T |
void wblut.hemesh.HE_Vertex.clear | ( | ) |
void wblut.hemesh.HE_Vertex.clearHalfedge | ( | ) |
Clear halfedge.
void wblut.hemesh.HE_Vertex.clearUVW | ( | ) |
|
static |
a | |
b |
int wblut.hemesh.HE_Vertex.compareTo | ( | final WB_Coordinate | p | ) |
p |
|
staticprivate |
p0 | |
p1 | |
p2 | |
tempD1 | |
tempD2 | |
ret |
void wblut.hemesh.HE_Vertex.copyProperties | ( | final HE_Vertex | el | ) |
el |
|
private |
normal | |
t1 | |
t2 |
HE_Vertex wblut.hemesh.HE_Vertex.get | ( | ) |
int wblut.hemesh.HE_Vertex.getColor | ( | ) |
Implements wblut.geom.WB_HasColor.
WB_CoordinateSystem wblut.hemesh.HE_Vertex.getCS | ( | ) |
WB_CoordinateSystem wblut.hemesh.HE_Vertex.getCurvatureDirections | ( | ) |
double wblut.hemesh.HE_Vertex.getd | ( | final int | i | ) |
Object wblut.hemesh.HE_Vertex.getData | ( | final String | s | ) |
List<HE_Halfedge> wblut.hemesh.HE_Vertex.getEdgeStar | ( | ) |
Get edges in vertex.
float wblut.hemesh.HE_Vertex.getf | ( | final int | i | ) |
List<HE_Face> wblut.hemesh.HE_Vertex.getFaceStar | ( | ) |
Get faces in vertex.
double wblut.hemesh.HE_Vertex.getGaussianCurvature | ( | final WB_Vector | meanCurvatureVector | ) |
Returns the discrete Gaussian curvature and the mean normal. These discrete operators are described in "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds", Mark Meyer, Mathieu Desbrun, Peter Schr�der, and Alan H. Barr. http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf Note: on a sphere, the Gaussian curvature is very accurate, but not the mean curvature. Guoliang Xu suggests improvements in his papers http://lsec.cc.ac.cn/~xuguo/xuguo3.htm
meanCurvatureVector |
double wblut.hemesh.HE_Vertex.getGaussianCurvature | ( | ) |
Returns the discrete Gaussian curvature. These discrete operators are described in "Discrete Differential-Geometry Operators for Triangulated 2-Manifolds", Mark Meyer, Mathieu Desbrun, Peter Schr�der, and Alan H. Barr. http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf http://www.cs.caltech.edu/~mmeyer/Publications/diffGeomOps.pdf Note: on a sphere, the Gaussian curvature is very accurate, but not the mean curvature. Guoliang Xu suggests improvements in his papers http://lsec.cc.ac.cn/~xuguo/xuguo3.htm
HE_Halfedge wblut.hemesh.HE_Vertex.getHalfedge | ( | ) |
Get halfedge associated with this vertex.
HE_Halfedge wblut.hemesh.HE_Vertex.getHalfedge | ( | final HE_Face | f | ) |
List<HE_Halfedge> wblut.hemesh.HE_Vertex.getHalfedgeStar | ( | ) |
Get halfedges in vertex.
HE_TextureCoordinate wblut.hemesh.HE_Vertex.getHalfedgeUVW | ( | final HE_Face | f | ) |
WB_Point [] wblut.hemesh.HE_Vertex.getNeighborsAsPoints | ( | ) |
Gets the neighbors as points.
List<HE_Vertex> wblut.hemesh.HE_Vertex.getNeighborVertices | ( | ) |
Get neighboring vertices.
List<HE_Vertex> wblut.hemesh.HE_Vertex.getNextNeighborVertices | ( | ) |
WB_Point wblut.hemesh.HE_Vertex.getOffset | ( | final double | d | ) |
d |
WB_Point wblut.hemesh.HE_Vertex.getPoint | ( | ) |
double wblut.hemesh.HE_Vertex.getUmbrellaAngle | ( | ) |
HE_TextureCoordinate wblut.hemesh.HE_Vertex.getUVW | ( | final HE_Face | f | ) |
double wblut.hemesh.HE_Vertex.getVertexArea | ( | ) |
Get area of faces bounding vertex.
WB_Vector wblut.hemesh.HE_Vertex.getVertexNormal | ( | ) |
int wblut.hemesh.HE_Vertex.getVertexOrder | ( | ) |
Get number of edges in vertex.
List<HE_Vertex> wblut.hemesh.HE_Vertex.getVertexStar | ( | ) |
WB_ClassificationConvex wblut.hemesh.HE_Vertex.getVertexType | ( | ) |
Get vertex type. Returns stored value if update status is true.
HE_TextureCoordinate wblut.hemesh.HE_Vertex.getVertexUVW | ( | ) |
boolean wblut.hemesh.HE_Vertex.hasHalfedgeTexture | ( | final HE_Face | f | ) |
boolean wblut.hemesh.HE_Vertex.hasTexture | ( | final HE_Face | f | ) |
boolean wblut.hemesh.HE_Vertex.hasVertexTexture | ( | ) |
boolean wblut.hemesh.HE_Vertex.isBoundary | ( | ) |
Checks if is boundary.
long wblut.hemesh.HE_Vertex.key | ( | ) |
Get key.
void wblut.hemesh.HE_Vertex.set | ( | final HE_Vertex | v | ) |
Set position to v.
v | position |
void wblut.hemesh.HE_Vertex.set | ( | final WB_Coordinate | p | ) |
void wblut.hemesh.HE_Vertex.set | ( | final double | x, |
final double | y | ||
) |
void wblut.hemesh.HE_Vertex.set | ( | final double | x, |
final double | y, | ||
final double | z | ||
) |
void wblut.hemesh.HE_Vertex.set | ( | final double | x, |
final double | y, | ||
final double | z, | ||
final double | w | ||
) |
void wblut.hemesh.HE_Vertex.setColor | ( | final int | color | ) |
void wblut.hemesh.HE_Vertex.setCoord | ( | final int | i, |
final double | v | ||
) |
void wblut.hemesh.HE_Vertex.setData | ( | final String | s, |
final Object | o | ||
) |
void wblut.hemesh.HE_Vertex.setHalfedge | ( | final HE_Halfedge | halfedge | ) |
Sets the halfedge associated with this vertex.
halfedge | the new halfedge |
void wblut.hemesh.HE_Vertex.setUVW | ( | final double | u, |
final double | v, | ||
final double | w | ||
) |
void wblut.hemesh.HE_Vertex.setUVW | ( | final WB_Coordinate | uvw | ) |
void wblut.hemesh.HE_Vertex.setUVW | ( | final HE_TextureCoordinate | uvw | ) |
void wblut.hemesh.HE_Vertex.setW | ( | final double | w | ) |
void wblut.hemesh.HE_Vertex.setX | ( | final double | x | ) |
void wblut.hemesh.HE_Vertex.setY | ( | final double | y | ) |
void wblut.hemesh.HE_Vertex.setZ | ( | final double | z | ) |
String wblut.hemesh.HE_Vertex.toString | ( | ) |
double wblut.hemesh.HE_Vertex.wd | ( | ) |
float wblut.hemesh.HE_Vertex.wf | ( | ) |
double wblut.hemesh.HE_Vertex.xd | ( | ) |
float wblut.hemesh.HE_Vertex.xf | ( | ) |
double wblut.hemesh.HE_Vertex.yd | ( | ) |
float wblut.hemesh.HE_Vertex.yf | ( | ) |
double wblut.hemesh.HE_Vertex.zd | ( | ) |
float wblut.hemesh.HE_Vertex.zf | ( | ) |
|
private |
The _data.
|
private |
Halfedge associated with this vertex.
|
private |
|
private |
|
private |