ISIS Application Documentation
    Rotates a cube any number of degrees
  
 
          Description
        
    This program will rotate a cube any number of degrees. The rotation will
    not clip any pixels from the input (i.e., the output cube will be made
    large enough to contain all of the input cube). Pixels outside of the input
    cube will be set to NULL.
   
 
          Categories
        
 
              History
          
| Stuart Sides | 2002-10-28 | 
      Original version
     | 
 
| Kim Sides | 2003-05-13 | 
      Added application test
     | 
 
| Stuart Sides | 2003-05-16 | 
      Modified schema location from astogeology... to isis.astrogeology..."
     | 
 
| Stuart Sides | 2003-05-30 | 
      Fixed compiler error with uninitialized variable after adding -O1 flag
     | 
 
| Stuart Sides | 2003-07-29 | 
      Modified filename parameters to be cube parameters where necessary
     | 
 
| Steven Lambright | 2007-06-22 | 
      Fixed typo in user documentation
     | 
 
| Steven Lambright | 2008-05-13 | 
      Removed references to CubeInfo 
     | 
 
 
 | 
 
 
                Parameter Groups
            
Files
| 
                    Name
                     | 
                    Description
                     | 
 
| FROM | 
          Input cube to rotate
         | 
 
| TO | 
          Output cube
         | 
 
 
Rotation
| 
                    Name
                     | 
                    Description
                     | 
 
| DEGREES | Number of degrees of rotation | 
 
| INTERP | Type of interpolation | 
 
 
 | 
 
Files:
                        FROM
                         Description
                       
          Use this parameter to select the filename. All bands within the file
          will be rotated unless a specific band is specified.
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | input | 
| 
                               Filter
                              | 
          *.cub
         | 
 
 
Files:
                        TO
                         Description
                       
          This file will contain the results of the rotation.
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | output | 
 
 
Rotation:
                        DEGREES
                         Description
                       
          This defines the number of degrees the cube will be rotated.
          The angle is measured positive clockwize.
        
| 
                             Type
                            | double | 
| 
                               Minimum
                              | -360.0
                                   (exclusive)
                                  | 
| 
                               Maximum
                              | 360.0
                                   (exclusive)
                                  | 
 
 
Rotation:
                        INTERP
                         Description
                       
          This is the type of interpolation to be performed on the input.
        
| 
                             Type
                            | string | 
| 
                               Default
                              | 
          CUBICCONVOLUTION
         | 
| 
                               Option List:
                              | 
| 
                                   Option | 
                                   Brief | 
                                   Description | 
 
| NEARESTNEIGHBOR | Nearest Neighbor | 
              Each output pixel will be set to the pixel nearest the
              calculated input pixel.
             | 
 
| BILINEAR | Bi-Linear interpolation | 
              Each output pixel will be set to the value calculated by
              a bi-linear interpolation of the calculated input pixel.
             | 
 
| CUBICCONVOLUTION | Cubic Convolution interpolation | 
              Each output pixel will be set to the value calculated by
              a cubic convolution interpolation of the calculated input pixel.
             | 
 
 
 |