Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
povray.Camera Class Reference

Creates the 'camera' settings required to produce POV-Ray output. More...

Inheritance diagram for povray.Camera:

Public Member Functions

 Camera ()
 Constructor used to initialise each of the location, up, right, and look at vector properties. More...
 
void setLocation (double x, double y, double z)
 Set the location of the camera to the specified X,Y, and Z coordinates. More...
 
void setUp (double x, double y, double z)
 Set the upward view of the camera to the specified X,Y, and Z coordinates. More...
 
void setRight (double x, double y, double z)
 Set the right view of the camera to the specified X,Y, and Z coordinates. More...
 
void setLook_at (double x, double y, double z)
 Set the focus of the camera to the specified X,Y, and Z coordinates. More...
 
void setAngle (double f)
 Set the angle of view of the camera. More...
 
String toString ()
 Represents the information about the camera as a string. More...
 

Detailed Description

Creates the 'camera' settings required to produce POV-Ray output.

Creates the 'camera' settings required to produce POV-Ray output

Constructor & Destructor Documentation

povray.Camera.Camera ( )

Constructor used to initialise each of the location, up, right, and look at vector properties.

Constructor used to initialise each of the location, up, right, and look at vector properties

Member Function Documentation

void povray.Camera.setAngle ( double  f)

Set the angle of view of the camera.

Set the angle of view of the camera

Parameters
fDouble value angle of the camera view
void povray.Camera.setLocation ( double  x,
double  y,
double  z 
)

Set the location of the camera to the specified X,Y, and Z coordinates.

Set the location of the camera to the specified X,Y, and Z coordinates

Parameters
xDouble value X coordinate
yDouble value Y coordinate
zDouble value Z coordinate
void povray.Camera.setLook_at ( double  x,
double  y,
double  z 
)

Set the focus of the camera to the specified X,Y, and Z coordinates.

Set the focus of the camera to the specified X,Y, and Z coordinates

Parameters
xDouble value X coordinate
yDouble value Y coordinate
zDouble value Z coordinate
void povray.Camera.setRight ( double  x,
double  y,
double  z 
)

Set the right view of the camera to the specified X,Y, and Z coordinates.

Set the right view of the camera to the specified X,Y, and Z coordinates

Parameters
xDouble value X coordinate
yDouble value Y coordinate
zDouble value Z coordinate
void povray.Camera.setUp ( double  x,
double  y,
double  z 
)

Set the upward view of the camera to the specified X,Y, and Z coordinates.

Set the upward view of the camera to the specified X,Y, and Z coordinates

Parameters
xDouble value X coordinate
yDouble value Y coordinate
zDouble value Z coordinate
String povray.Camera.toString ( )

Represents the information about the camera as a string.

Represents the information about the camera as a string

Returns
String value summarising the information stored about this camera

The documentation for this class was generated from the following file: