Xj3D 2.0 VRML/X3D Code API

org.web3d.x3d.sai.navigation
Interface Viewpoint

All Superinterfaces:
X3DBindableNode, X3DChildNode, X3DNode, X3DViewpointNode

public interface Viewpoint
extends X3DViewpointNode

Defines the requirements of an X3D Viewpoint node

Version:
$Revision: 1.1 $
Author:
Rex Melton

Method Summary
 float getFieldOfView()
          Return the fieldOfView float value.
 void getPosition(float[] val)
          Return the position value in the argument float[]
 void setFieldOfView(float val)
          Set the fieldOfView field.
 void setPosition(float[] val)
          Set the position field.
 
Methods inherited from interface org.web3d.x3d.sai.X3DViewpointNode
getDescription, getJump, getRetainUserOffsets, setDescription, setJump, setOrientation, setRetainUserOffsets
 
Methods inherited from interface org.web3d.x3d.sai.X3DBindableNode
getBindTime, getIsBound, setBind
 
Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
 

Method Detail

getFieldOfView

float getFieldOfView()
Return the fieldOfView float value.

Returns:
The fieldOfView float value.

setFieldOfView

void setFieldOfView(float val)
Set the fieldOfView field.

Parameters:
val - The float to set.

getPosition

void getPosition(float[] val)
Return the position value in the argument float[]

Parameters:
val - The float[] to initialize.

setPosition

void setPosition(float[] val)
Set the position field.

Parameters:
val - The float[] to set.

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium