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

Constructor Index

 o ViewCamera()

Method Index

 o approachNormal(float[], float[], float)
approach target normal vector by a faction of k
 o approachPosition(float[], float, float)
approach target position by a fraction of k
 o clear()
clear Viewpoint stack.
 o getFarClip()
get far clipping plane (yon)
 o getNearClip()
get near clipping plane (hither)
 o initialViewpoint(Viewpoint)
set the initial viewpoint.
 o printValues(PrintStream)
print camera values
 o reset()
reset to initial (relative) view
 o rotateXYcenter(float, float, float[])
rotate horicontally/vertically.
 o setCamera(float)
set camera via GE3D
 o setFarClip(float)
 o setNearClip(float)
 o transformPointVCS(float[])
transform point into Viewpoint coordinate system.
 o transformVectorVCS(float[])
transform vector into Viewpoint coordinate system.
 o viewingRay(float, float, float)
get a viewing ray (for picking).

Constructors

 o ViewCamera
  public ViewCamera()

Methods

 o clear
  public void clear()
clear Viewpoint stack. Does not change the relative view
See Also:
reset
 o reset
  public void reset()
reset to initial (relative) view
Overrides:
reset in class Camera
 o getNearClip
  public float getNearClip()
get near clipping plane (hither)
 o getFarClip
  public float getFarClip()
get far clipping plane (yon)
 o setNearClip
  public void setNearClip(float hither)
 o setFarClip
  public void setFarClip(float yon)
 o setCamera
  public void setCamera(float winaspect)
set camera via GE3D
 o initialViewpoint
  public void initialViewpoint(Viewpoint vp)
set the initial viewpoint. has no effect when there is already a viewpoint bound
 o 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
 o transformVectorVCS
  protected float[] transformVectorVCS(float vector[])
transform vector into Viewpoint coordinate system. like transformPointVCS, but consider orientation only.
 o rotateXYcenter
  public void rotateXYcenter(float l2r,
                             float t2b,
                             float center[])
rotate horicontally/vertically. center transformed by current Viewpoint
Overrides:
rotateXYcenter in class Camera
 o approachPosition
  public void approachPosition(float poi[],
                               float ktran,
                               float hither)
approach target position by a fraction of k
Overrides:
approachPosition in class Camera
 o approachNormal
  public void approachNormal(float poi[],
                             float normal[],
                             float krot)
approach target normal vector by a faction of k
Overrides:
approachNormal in class Camera
 o viewingRay
  public Ray viewingRay(float fx,
                        float fy,
                        float winaspect)
get a viewing ray (for picking).
 o printValues
  public void printValues(PrintStream os)
print camera values
Overrides:
printValues in class Camera

All Packages  Class Hierarchy  This Package  Previous  Next  Index