$search
Public Member Functions | |
Object | clone () |
boolean | equals (Object o) |
Vector3f | getNormalVector () |
float | getPointarea () |
int | hashCode () |
boolean | sameCoordinates (Point3f p) |
void | setNormalVector (Vector3f normalVector) |
void | setPointarea (float pointarea) |
void | transform (float[][] matrix) |
Vertex (Point3f p) | |
Vertex (float x, float y, float z) | |
Public Attributes | |
Color | color |
Color | overrideColor = null |
Private Attributes | |
Vector3f | normalVector = new Vector3f() |
float | pointarea = 0f |
Static Private Attributes | |
static final long | serialVersionUID = 4454667509075960402L |
A vertex (corner point) of a triangle or line. Vertex may have normal vector and voronoi area assigned.
Definition at line 23 of file Vertex.java.
edu::tum::cs::vis::model::util::Vertex::Vertex | ( | float | x, | |
float | y, | |||
float | z | |||
) | [inline] |
Constructor for vertex
x | x coordinate | |
y | y coordinate | |
z | z coordinate |
Definition at line 60 of file Vertex.java.
edu::tum::cs::vis::model::util::Vertex::Vertex | ( | Point3f | p | ) | [inline] |
Constructor for vertex
p | coordinates for new vertex |
Definition at line 70 of file Vertex.java.
Object edu::tum::cs::vis::model::util::Vertex::clone | ( | void | ) | [inline] |
Definition at line 75 of file Vertex.java.
boolean edu::tum::cs::vis::model::util::Vertex::equals | ( | Object | o | ) | [inline] |
Definition at line 86 of file Vertex.java.
Vector3f edu::tum::cs::vis::model::util::Vertex::getNormalVector | ( | ) | [inline] |
float edu::tum::cs::vis::model::util::Vertex::getPointarea | ( | ) | [inline] |
int edu::tum::cs::vis::model::util::Vertex::hashCode | ( | ) | [inline] |
Definition at line 130 of file Vertex.java.
boolean edu::tum::cs::vis::model::util::Vertex::sameCoordinates | ( | Point3f | p | ) | [inline] |
Check if p has same coordinates as this vertex.
p | point |
Definition at line 107 of file Vertex.java.
void edu::tum::cs::vis::model::util::Vertex::setNormalVector | ( | Vector3f | normalVector | ) | [inline] |
set normal vector of vertex
normalVector | the normalVector to set |
Definition at line 142 of file Vertex.java.
void edu::tum::cs::vis::model::util::Vertex::setPointarea | ( | float | pointarea | ) | [inline] |
set Voronoi area of vertex
pointarea | the pointarea to set |
Definition at line 152 of file Vertex.java.
void edu::tum::cs::vis::model::util::Vertex::transform | ( | float | matrix[][] | ) | [inline] |
Apply 4x4 transformation matrix to the vector
matrix | the transformation matrix |
Definition at line 163 of file Vertex.java.
Color of vertex. May be used to color vertex instead of triangle.
Definition at line 43 of file Vertex.java.
Vector3f edu::tum::cs::vis::model::util::Vertex::normalVector = new Vector3f() [private] |
normal vector of vertex
Definition at line 33 of file Vertex.java.
Overrides color of triangle with this color.
Definition at line 48 of file Vertex.java.
float edu::tum::cs::vis::model::util::Vertex::pointarea = 0f [private] |
voronoi area of vertex
Definition at line 38 of file Vertex.java.
final long edu::tum::cs::vis::model::util::Vertex::serialVersionUID = 4454667509075960402L [static, private] |
Definition at line 28 of file Vertex.java.