$search

edu::tum::cs::vis::model::util::Vertex Class Reference

Inheritance diagram for edu::tum::cs::vis::model::util::Vertex:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

A vertex (corner point) of a triangle or line. Vertex may have normal vector and voronoi area assigned.

Author:
Stefan Profanter

Definition at line 23 of file Vertex.java.


Constructor & Destructor Documentation

edu::tum::cs::vis::model::util::Vertex::Vertex ( float  x,
float  y,
float  z 
) [inline]

Constructor for vertex

Parameters:
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

Parameters:
p coordinates for new vertex

Definition at line 70 of file Vertex.java.


Member Function Documentation

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]

Get normal vector of vertex

Returns:
the normalVector

Definition at line 116 of file Vertex.java.

float edu::tum::cs::vis::model::util::Vertex::getPointarea (  )  [inline]

Get voronoi area of vertex

Returns:
the pointarea

Definition at line 125 of file Vertex.java.

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.

Parameters:
p point
Returns:
true if x,y,z are equal

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

Parameters:
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

Parameters:
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

Parameters:
matrix the transformation matrix

Definition at line 163 of file Vertex.java.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


knowrob_cad_parser
Author(s): Stefan Profanter
autogenerated on Tue Mar 5 12:15:34 2013