povray/
visgrpovrayview__define.pro
object graphics
includes main-level programControls top-level properties of the POV-Ray scene like focal blur.
Examples
Focal blur can be set up by setting the APERTURE and BLUR_SAMPLES keywords when creating the view:
view = obj_new('VISgrPOVRayView', name='view', color=[200, 200, 255], $
aperture=0.4, blur_samples=20L)
view->setProperty, focal_point=vis_transformpoint([0.52, 0.317, 0.0], cow)
IDL> .run visgrpovrayview__define
Class description for visgrpovrayview
Inheritance
- IDLGRVIEW
All ancestor classes: IDLGRVIEW IDLGRCONTAINER IDL_CONTAINER IDLGRCOMPONENT IDLITCOMPONENT
Properties
- _extra set init
- blur_samples get set init
number of rays used to sample each pixel in POV-Ray
- _ref_extra get
- focal_point get set init
point which the camera focuses in view coordinates (not data coordinates)
- aperture get set init
aperature of camera (small aperature value gives a larger depth of field)
Routines
visgrpovrayview::getProperty, focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _ref_extra=_ref_extra
Get properties.
visgrpovrayview::setProperty, focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _extra=_extra
Set properties.
result = visgrpovrayview::init(focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _extra=_extra)
Create a POV-Ray view object.
visgrpovrayview__define
Define instance variables.
Routine details
top visgrpovrayview::getProperty
visgrpovrayview::getProperty, focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _ref_extra=_ref_extra
Get properties.
Keywords
- focal_point
point which the camera focuses in view coordinates (not data coordinates)
- aperture
aperature of camera (small aperature value gives a larger depth of field)
- blur_samples
number of rays used to sample each pixel in POV-Ray
- _ref_extra
top visgrpovrayview::setProperty
visgrpovrayview::setProperty, focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _extra=_extra
Set properties.
Keywords
- focal_point
point which the camera focuses in view coordinates (not data coordinates)
- aperture
aperature of camera (small aperature value gives a larger depth of field)
- blur_samples
number of rays used to sample each pixel in POV-Ray
- _extra
top visgrpovrayview::init
result = visgrpovrayview::init(focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _extra=_extra)
Create a POV-Ray view object.
Return value
1 for success, 0 for failure
Keywords
- focal_point
point which the camera focuses in view coordinates (not data coordinates)
- aperture
aperature of camera (small aperature value gives a larger depth of field)
- blur_samples
number of rays used to sample each pixel in POV-Ray
- _extra
File attributes
Modification date: | Mon Nov 29 18:32:37 2010 |
Lines: | 186 |
Docformat: | rst rst |