|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.model.Camera
public class Camera
Camera characteristics in home.
| Nested Class Summary | |
|---|---|
static class |
Camera.Property
The properties of a camera that may change. |
| Constructor Summary | |
|---|---|
Camera(float x,
float y,
float z,
float yaw,
float pitch,
float fieldOfView)
Creates a camera at given location and angles. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds the property change listener in parameter to this camera. |
Camera |
clone()
Returns a clone of this camera. |
float |
getFieldOfView()
Returns the field of view in radians of this camera. |
float |
getPitch()
Returns the pitch angle in radians of this camera. |
float |
getX()
Returns the abscissa of this camera. |
float |
getY()
Returns the ordinate of this camera. |
float |
getYaw()
Returns the yaw angle in radians of this camera. |
float |
getZ()
Returns the elevation of this camera. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes the property change listener in parameter from this camera. |
void |
setCamera(Camera camera)
Sets the location and angles of this camera from the camera in parameter |
void |
setFieldOfView(float fieldOfView)
Sets the field of view in radians of this camera. |
void |
setPitch(float pitch)
Sets the pitch angle in radians of this camera. |
void |
setX(float x)
Sets the abscissa of this camera. |
void |
setY(float y)
Sets the ordinate of this camera. |
void |
setYaw(float yaw)
Sets the yaw angle in radians of this camera. |
void |
setZ(float z)
Sets the elevation of this camera. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Camera(float x,
float y,
float z,
float yaw,
float pitch,
float fieldOfView)
| Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener listener)
listener in parameter to this camera.
public void removePropertyChangeListener(PropertyChangeListener listener)
listener in parameter from this camera.
public float getYaw()
public void setYaw(float yaw)
public float getPitch()
public void setPitch(float pitch)
public float getFieldOfView()
public void setFieldOfView(float fieldOfView)
public float getX()
public void setX(float x)
public float getY()
public void setY(float y)
Home, which
controls notifications when a camera changed.
public float getZ()
public void setZ(float z)
Home, which
controls notifications when a camera changed.
public void setCamera(Camera camera)
camera in parameter
public Camera clone()
clone in class Object
|
Sweet Home 3D 2.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2010 eTeks - All rights reserved
Distributed under GNU General Public License |