Package au.edu.unsw.cse
Interface Object3d
- All Known Implementing Classes:
Axes
,Bezier3d
,Bspline3d
,CSELogo
,Cube
,Edge3d
,Edge3dPlus
,Object3dAdaptor
,Object3dList
,Point3dObject3d
,Points3d
,Polygon3d
,QuadMesh3d
,Site3d
,Triangle3d
,Triangle3dPlus
public interface Object3d
interface for 3d objects that can be rendered on screen
-
Field Summary
-
Method Summary
Modifier and Type Method Description Point3d
centre()
double
depthBias(View3d v)
Depth bias - used to adjust depth in depth sort so that front facing faces appear in front of back facesint
getFirstFrame()
int
getLastFrame()
int
getSelectFrame()
java.lang.String
id()
void
render(View3d v)
render this object3dvoid
select(int f)
void
setCentre(Point3d c)
void
setFirstFrame(int f)
void
setLastFrame(int f)
void
toVRML(VRMLState v)
turn into VRMLvoid
transform(au.edu.unsw.cse.Matrix3D T)
boolean
visible(int frame)
Is this object visible in specified frame ?
-
Field Details
-
FRONTBIAS
static final double FRONTBIAS- See Also:
- Constant Field Values
-
BACKBIAS
static final double BACKBIAS- See Also:
- Constant Field Values
-
-
Method Details
-
centre
Point3d centre() -
setCentre
-
setFirstFrame
void setFirstFrame(int f) -
getLastFrame
int getLastFrame() -
setLastFrame
void setLastFrame(int f) -
getFirstFrame
int getFirstFrame() -
select
void select(int f) -
getSelectFrame
int getSelectFrame() -
depthBias
Depth bias - used to adjust depth in depth sort so that front facing faces appear in front of back faces -
visible
boolean visible(int frame)Is this object visible in specified frame ? -
render
render this object3d -
transform
void transform(au.edu.unsw.cse.Matrix3D T) -
toVRML
turn into VRML -
id
java.lang.String id()
-