de.fhg.igd.earth.view
Class CubeProjector

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

public class CubeProjector
extends JavaProjector

This is a special JavaProjector for a cube projection. It shows the model as it is. No extra transformation will be done. Title : Earth Copyright : Copyright (c) 2001 Organisation : IGD FhG

Version:
: 1.0
Author:
: Werner Beutel

Field Summary
private  CubeBehavior behavior_
           
 
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
CubeProjector(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
 JSlider getZoomSlider()
          returns the zoom slider (GUI)
protected  cMatrix4d PixelTransformer(cMatrix4d x)
          nothing to do here (no transformation)
protected  cPoint3d[] PixelTransformer(cPoint3d[] x)
          nothing to do here (no transformation)
protected  cVector3f[] PixelTransformer(cVector3f[] x)
          nothing to do here (no transformation)
 void setViewPosition(double longitude, double latitude)
          sets the view position
 void setZoomSlider(JSlider slider)
          sets the zoom slider (GUI)
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, 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

behavior_

private CubeBehavior behavior_
Constructor Detail

CubeProjector

public CubeProjector(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

setZoomSlider

public void setZoomSlider(JSlider slider)
sets the zoom slider (GUI)


getZoomSlider

public JSlider getZoomSlider()
returns the zoom slider (GUI)

Overrides:
getZoomSlider in class JavaProjector

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)
nothing to do here (no transformation)

Specified by:
PixelTransformer in class JavaProjector

PixelTransformer

protected cPoint3d[] PixelTransformer(cPoint3d[] x)
nothing to do here (no transformation)

Specified by:
PixelTransformer in class JavaProjector

PixelTransformer

protected cVector3f[] PixelTransformer(cVector3f[] x)
nothing to do here (no transformation)

Specified by:
PixelTransformer in class JavaProjector


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.