Changes between Version 1 and Version 2 of ProjectionObjects


Ignore:
Timestamp:
04/22/12 09:41:20 (13 years ago)
Author:
Jonathan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ProjectionObjects

    v1 v2  
    77  USE Projections
    88  USE Fields
     9  USE Cameras
    910}}}
    1011
     
    2526
    2627 * For more information on the Field sub-object's properties see ProcessingFields
    27  * If you are making several projections, you can reuse the Projection Pointer (with or without Nullifying it) by calling {{{ CreateProjection(Projection) }}} for each new projection.
     28 * If you are making several projections, you can reuse the Projection Pointer (with or without Nullifying it) by calling {{{ CreateProjection(Projection) }}} for each new projection. 
     29 * Also if you wish to use a particular camera viewpoint you can setup a [CameraObjects camera object] as follows:
     30{{{
     31   ALLOCATE(Projection%Camera)
     32   Projection%Camera%pos=(/4d0,-10d0,4d0/)
     33   Projection%Camera%UpVector=(/0d0,0d0,1d0/)
     34   Projection%Camera%Focus=(/4d0,4d0,4d0/)
     35   Projection%Camera%FOV=30d0
     36   Projection%Camera%Aspect=1d0
     37}}}
    2838
    2939Here is a full list of the various Projection parameters with the default values
     
    3343      INTEGER :: PlotLevel=MAXIMUMPLOTLEVEL   ! Sets resolution of output to that of PlotLevel. 
    3444                                              ! (MAXIMUMPLOTLEVEL uses the current finest level of resolution)
     45      TYPE(CameraDef), POINTER :: Camera      ! Optional definition of a particular camera to use for the projection. 
    3546}}}
    3647