|
CubeTwister 2.0alpha141 2011-10-13 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectidx3d.idx3d_Vertex
public class idx3d_Vertex
Defines a triangle vertex.
| Field Summary | |
|---|---|
int |
id
Vertex index. |
idx3d_Vector |
n
Normal Vector at vertex. |
idx3d_Vector |
n2
Transformed normal vector (camera space). |
int |
nx
Normal x-coordinate for envmapping. |
int |
ny
Normal y-coordinate for envmapping. |
idx3d_Object |
parent
|
idx3d_Vector |
pos
(x,y,z) Coordinate of vertex. |
idx3d_Vector |
pos2
Transformed vertex coordinate. |
boolean |
visible
Visibility tag for clipping. |
int |
x
Projected x coordinate. |
int |
y
Projected y coordinate. |
int |
z
Projected z coordinate for z-Buffer. |
| Constructor Summary | |
|---|---|
idx3d_Vertex()
|
|
idx3d_Vertex(float xpos,
float ypos,
float zpos)
|
|
idx3d_Vertex(idx3d_Vector ppos)
|
|
| Method Summary | |
|---|---|
boolean |
equals(idx3d_Vertex v)
|
boolean |
equals(idx3d_Vertex v,
float tolerance)
|
boolean |
equals(java.lang.Object obj)
|
idx3d_Vertex |
getClone()
|
int |
hashCode()
|
void |
regenerateNormal()
Recalculates the vertex normal. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public idx3d_Object parent
public idx3d_Vector pos
public idx3d_Vector pos2
public idx3d_Vector n
public idx3d_Vector n2
public int x
public int y
public int z
public int nx
public int ny
public boolean visible
public int id
| Constructor Detail |
|---|
public idx3d_Vertex()
public idx3d_Vertex(float xpos,
float ypos,
float zpos)
public idx3d_Vertex(idx3d_Vector ppos)
| Method Detail |
|---|
public void regenerateNormal()
public idx3d_Vertex getClone()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(idx3d_Vertex v)
public boolean equals(idx3d_Vertex v,
float tolerance)
|
(c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||