Class iicm.vrml.vrwave.ViewCamera
All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class iicm.vrml.vrwave.ViewCamera
java.lang.Object
   |
   +----iicm.utils3d.Camera
           |
           +----iicm.vrml.vrwave.ViewCamera
  -  public class ViewCamera
  -  extends Camera
ViewCamera - VRML viewpoint (Camera)
Copyright (c) 1997 IICM
   
  -   ViewCamera() ViewCamera()
-  
   
  -   approachNormal(float[], float[], float) approachNormal(float[], float[], float)
-  approach target normal vector by a faction of k
  
-   approachPosition(float[], float, float) approachPosition(float[], float, float)
-  approach target position by a fraction of k
  
-   clear() clear()
-  clear Viewpoint stack.
  
-   getFarClip() getFarClip()
-  get far clipping plane (yon)
  
-   getNearClip() getNearClip()
-  get near clipping plane (hither)
  
-   initialViewpoint(Viewpoint) initialViewpoint(Viewpoint)
-  set the initial viewpoint.
  
-   printValues(PrintStream) printValues(PrintStream)
-  print camera values
  
-   reset() reset()
-  reset to initial (relative) view
  
-   rotateXYcenter(float, float, float[]) rotateXYcenter(float, float, float[])
-  rotate horicontally/vertically.
  
-   setCamera(float) setCamera(float)
-  set camera via GE3D
  
-   setFarClip(float) setFarClip(float)
-  
  
-   setNearClip(float) setNearClip(float)
-  
  
-   transformPointVCS(float[]) transformPointVCS(float[])
-  transform point into Viewpoint coordinate system.
  
-   transformVectorVCS(float[]) transformVectorVCS(float[])
-  transform vector into Viewpoint coordinate system.
  
-   viewingRay(float, float, float) viewingRay(float, float, float)
-  get a viewing ray (for picking).
   
 ViewCamera
ViewCamera
  public ViewCamera()
   
 clear
clear
  public void clear()
  -  clear Viewpoint stack.
Does not change the relative view
  
    -  See Also:
    
-  reset
  
 
 reset
reset
  public void reset()
  -  reset to initial (relative) view
  
    -  Overrides:
    
-  reset in class Camera
  
 
 getNearClip
getNearClip
  public float getNearClip()
  -  get near clipping plane (hither)
 getFarClip
getFarClip
  public float getFarClip()
  -  get far clipping plane (yon)
 setNearClip
setNearClip
  public void setNearClip(float hither)
 setFarClip
setFarClip
  public void setFarClip(float yon)
 setCamera
setCamera
  public void setCamera(float winaspect)
  -  set camera via GE3D
 initialViewpoint
initialViewpoint
  public void initialViewpoint(Viewpoint vp)
  -  set the initial viewpoint.
has no effect when there is already a viewpoint bound
 transformPointVCS
transformPointVCS
  protected float[] transformPointVCS(float point[])
  -  transform point into Viewpoint coordinate system.
i.e. into the coordinate system the Camera is defined in.
  
    -  Returns:
    
-  unchanged point if there is no Viewpoint bound
  
 
 transformVectorVCS
transformVectorVCS
  protected float[] transformVectorVCS(float vector[])
  -  transform vector into Viewpoint coordinate system.
like transformPointVCS, but consider orientation only.
 rotateXYcenter
rotateXYcenter
  public void rotateXYcenter(float l2r,
                             float t2b,
                             float center[])
  -  rotate horicontally/vertically.
center transformed by current Viewpoint
  
    -  Overrides:
    
-  rotateXYcenter in class Camera
  
 
 approachPosition
approachPosition
  public void approachPosition(float poi[],
                               float ktran,
                               float hither)
  -  approach target position by a fraction of k
  
    -  Overrides:
    
-  approachPosition in class Camera
  
 
 approachNormal
approachNormal
  public void approachNormal(float poi[],
                             float normal[],
                             float krot)
  -  approach target normal vector by a faction of k
  
    -  Overrides:
    
-  approachNormal in class Camera
  
 
 viewingRay
viewingRay
  public Ray viewingRay(float fx,
                        float fy,
                        float winaspect)
  -  get a viewing ray (for picking).
 printValues
printValues
  public void printValues(PrintStream os)
  -  print camera values
  
    -  Overrides:
    
-  printValues in class Camera
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index