|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a Camera3D.
IScene3DObject
,
IRender3D
Method Summary | |
double |
getFocus()
Gets the camera focal length in scene unit. |
double |
getFOV()
Gets the camera field of view in degree. |
double |
getHeight()
Gets the camera screen height expressed in scene unit. |
IPoint3D |
getTarget()
Gets the camera target. |
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 in degree. |
void |
setHeight(double val)
Set the camera screen height expressed in scene unit. |
void |
setTarget(IPoint3D target)
Sets the camera target. |
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)
Sets 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 net.dzzd.access.ISceneObject |
build, clearProperties, copy, getBuild, getId, getName, getProperty, getScene, setBuild, setId, setName, setProperty |
Methods inherited from interface net.dzzd.access.IMonitoredSceneObject |
copy |
Methods inherited from interface net.dzzd.access.IRender3DMode |
disableRender3DMode, enableRender3DMode, getRender3DMode, getRender3DModeFlags, setRender3DModeFlags |
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 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.public void setTarget(IPoint3D target)
target
- target that camera must look at, null to make this camera non-target (freehand).public IPoint3D getTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |