public class Object3d extends Position implements Serializable
Constructor and Description |
---|
Object3d(Model3d md,
int nvert,
int nface) |
Object3d(String name,
Model3d md,
int nvert,
int nface) |
Modifier and Type | Method and Description |
---|---|
int |
addFace(int nvert) |
int |
addFace(int nvert,
Color c) |
int |
addFace(int nvert,
int red,
int green,
int blue) |
int |
addVertex(float x,
float y,
float z) |
int |
addVertex(Vector3d v) |
void |
setColor(Color c) |
void |
setColor(int red,
int green,
int blue) |
void |
setName(String name) |
public Object3d(Model3d md, int nvert, int nface)
public int addVertex(Vector3d v)
public int addVertex(float x, float y, float z)
public int addFace(int nvert, Color c)
public int addFace(int nvert, int red, int green, int blue)
public int addFace(int nvert)
public void setName(String name)
public void setColor(Color c)
public void setColor(int red, int green, int blue)
SCaVis 1.0 ©