vis/povray/
mggrpovrayview__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('MGgrPOVRayView', name='view', color=[200, 200, 255], $
aperture=0.4, blur_samples=20L)
view->setProperty, focal_point=mg_transformpoint([0.52, 0.317, 0.0], cow)
IDL> .run mggrpovrayview__define
Class description for mggrpovrayview
Inheritance
- IDLGRVIEW
All ancestor classes: IDLGRVIEW IDLGRCONTAINER IDL_CONTAINER IDLGRCOMPONENT IDLITCOMPONENT
Properties
Properties in mggrpovrayview
- _extra set init
- _ref_extra get
- aperture get set init
aperature of camera (small aperature value gives a larger depth of field)
- blur_samples get set init
number of rays used to sample each pixel in POV-Ray
- focal_point get set init
point which the camera focuses in view coordinates (not data coordinates)
Routines
Routines from mggrpovrayview__define.pro
mggrpovrayview::getProperty, focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _ref_extra=_ref_extra
Get properties.
mggrpovrayview::setProperty, focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _extra=_extra
Set properties.
result = mggrpovrayview::init(focal_point=focal_point, aperture=aperture, blur_samples=blur_samples, _extra=_extra)
Create a POV-Ray view object.
mggrpovrayview__define
Define instance variables.
Routine details
top mggrpovrayview::getProperty
mggrpovrayview::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 mggrpovrayview::setProperty
mggrpovrayview::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 mggrpovrayview::init
result = mggrpovrayview::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: | Wed May 14 15:07:15 2014 |
Lines: | 85 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.