de.fhg.igd.earth.view
Class SphereProjector

java.lang.Object
  extended byde.fhg.igd.earth.view.Projector
      extended byde.fhg.igd.earth.view.JavaProjector
          extended byde.fhg.igd.earth.view.SphereProjector

public class SphereProjector
extends JavaProjector

This is a special JavaProjector for sphere projection. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel

Field Summary
private  SphereBehavior behavior_
           
(package private) static double radius_
           
 
Fields inherited from class de.fhg.igd.earth.view.JavaProjector
canvas3D_, checkDetailLevels_, detachedBranchGroups_, detailGroups_, distance_, distanceDetailGroups_, fpsLabel_, mainBounds_, newUniverse, positionLabel_, view_, zoomSlider_, zoomSliderPanel_
 
Fields inherited from class de.fhg.igd.earth.view.Projector
container_, containerHeight_, containerWidth_, enabled_, firstTime_, model_, projectorManager_
 
Constructor Summary
SphereProjector(JComponent container)
          Creates an instance of this class
 
Method Summary
protected  boolean checkLatchGroup(Node node)
          Check if this projector is allowed to view the node
 String getIdentName()
          Returns the ident name
protected  cMatrix4d PixelTransformer(cMatrix4d x)
          This mehtod is called by updateTransformGroup() to transform a matrix for a special projector.
protected  cPoint3d[] PixelTransformer(cPoint3d[] x)
          This mehtod is called by updateTransformGroup() to transform a point field for a special projector.
protected  cVector3f[] PixelTransformer(cVector3f[] x)
          This mehtod is called by updateTransformGroup() to transform a vector field for a special projector.
 void setViewPosition(double longitude, double latitude)
          sets the view position
protected  void updateModelGraph(ModelGraph model)
          update MODEL GRAPH
 
Methods inherited from class de.fhg.igd.earth.view.JavaProjector
addFPSLabel, addPositionLabel, calcFPS, checkErasedChildren, delete, enableAutoFocus, enableDLOD, enableLOD, getZoomSlider, renderOnce, resizeContainer, saveSnapshot, setDistance, setLOD, setPositionLabel, setZoomSliderPanel, update, updateBranchGroup, updateGroup, updatePolygon, updatePrimitive, updateSwitchGroup, updateText, updateTransformGroup
 
Methods inherited from class de.fhg.igd.earth.view.Projector
resizePanelEvent, setModel, setProjectorManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

radius_

static final double radius_
See Also:
Constant Field Values

behavior_

private SphereBehavior behavior_
Constructor Detail

SphereProjector

public SphereProjector(JComponent container)
Creates an instance of this class

Method Detail

getIdentName

public String getIdentName()
Returns the ident name

Specified by:
getIdentName in class Projector
Returns:
ident name

checkLatchGroup

protected boolean checkLatchGroup(Node node)
Check if this projector is allowed to view the node

Specified by:
checkLatchGroup in class JavaProjector
Parameters:
node -

updateModelGraph

protected void updateModelGraph(ModelGraph model)
update MODEL GRAPH

Specified by:
updateModelGraph in class JavaProjector
Parameters:
model -

setViewPosition

public void setViewPosition(double longitude,
                            double latitude)
sets the view position

Specified by:
setViewPosition in class JavaProjector
Parameters:
latitude -
longitude -

PixelTransformer

protected cMatrix4d PixelTransformer(cMatrix4d x)
This mehtod is called by updateTransformGroup() to transform a matrix for a special projector.

Specified by:
PixelTransformer in class JavaProjector

PixelTransformer

protected cPoint3d[] PixelTransformer(cPoint3d[] x)
This mehtod is called by updateTransformGroup() to transform a point field for a special projector.

Specified by:
PixelTransformer in class JavaProjector

PixelTransformer

protected cVector3f[] PixelTransformer(cVector3f[] x)
This mehtod is called by updateTransformGroup() to transform a vector field for a special projector.

Specified by:
PixelTransformer in class JavaProjector


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.