|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used for accessing to a Camera3D that can render a 3d scene.
IScene3DObject
,
IRender3D
Method Summary | |
double |
getFocus()
Gets the camera focal length expressed in scene unit. |
double |
getFOV()
Gets the camera field of view expressed in degree. |
double |
getHeight()
Gets the camera screen height expressed in scene unit. |
double |
getWidth()
Gets the camera screen width expressed in scene unit. |
double |
getZMax()
Gets the camera maximum z clipping value expressed in scene unit. |
double |
getZMin()
Gets the camera minimum z clipping value expressed in scene unit. |
double |
getZoomX()
Gets the camera horizontal zoom expressed in scene unit. |
double |
getZoomY()
Gets the camera vertical zoom expressed in scene unit. |
void |
setFocus(double val)
Sets the camera focal length expressed in scene unit. |
void |
setFOV(double val)
Sets the camera field of view expressed in degree. |
void |
setHeight(double val)
Set the camera screen height expressed in scene unit. |
void |
setWidth(double val)
Sets the camera screen width expressed in scene unit. |
void |
setZMax(double val)
Sets the camera maximum z clipping value expressed in scene unit. |
void |
setZMin(double val)
Set the camera minimum z clipping value expressed in scene unit. |
void |
setZoomX(double val)
Sets the camera horizontal zoom expressed in scene unit. |
void |
setZoomY(double val)
Sets the camera vertical zoom expressed in scene unit. |
Methods inherited from interface dzzd.IScene3DObject |
addChild, getAxis3D, getCenter, getFirstChild, getInstanceCopy, getNextChild, getParent, getPivot, getPosition, getRotation, getSphereBox, moveAsSolidSphere, removeChild, setParent, setSphereBox, zoom |
Methods inherited from interface dzzd.ISceneObject |
getId, getName, getRender3D, setId, setName |
Method Detail |
public double getFOV()
public void setFOV(double val)
this method will modify the focal length according to the camera screen width
val
- camera horizontal field of view angle expressed in degree (0-180)public double getFocus()
public double getWidth()
public double getHeight()
public double getZoomX()
public double getZoomY()
public double getZMax()
public double getZMin()
public void setFocus(double val)
val
- camera focal length expressed in scene unit.public void setWidth(double val)
val
- the camera screen width expressed in scene unit.public void setHeight(double val)
val
- the camera screen height expressed in scene unit.public void setZoomX(double val)
val
- the camera horizontal zoom expressed in scene unit.public void setZoomY(double val)
val
- the camera vertical zoom expressed in scene unit.public void setZMax(double val)
val
- the camera maximum z clipping value expressed in scene unit.public void setZMin(double val)
val
- the camera minimum z clipping value expressed in scene unit.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |