edu.mines.jtk.sgl
Class DrawContext

java.lang.Object
  extended by edu.mines.jtk.sgl.TraversalContext
      extended by edu.mines.jtk.sgl.TransformContext
          extended by edu.mines.jtk.sgl.DrawContext

public class DrawContext
extends TransformContext

A transform context for drawing.

Version:
2005.05.21
Author:
Dave Hale, Colorado School of Mines

Constructor Summary
DrawContext(ViewCanvas canvas)
          Constructs a draw context for the specified view canvas.
 
Method Summary
 
Methods inherited from class edu.mines.jtk.sgl.TransformContext
getCubeToLocal, getCubeToPixel, getCubeToView, getCubeToWorld, getLocalToCube, getLocalToPixel, getLocalToView, getLocalToWorld, getPixelToCube, getPixelToLocal, getPixelToView, getPixelToWorld, getView, getViewCanvas, getViewToCube, getViewToLocal, getViewToPixel, getViewToWorld, getWorld, getWorldToCube, getWorldToLocal, getWorldToPixel, getWorldToView, popLocalToWorld, pushLocalToWorld
 
Methods inherited from class edu.mines.jtk.sgl.TraversalContext
countNodes, getNode, getNode, getNodes, popNode, pushNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawContext

public DrawContext(ViewCanvas canvas)
Constructs a draw context for the specified view canvas.

Parameters:
canvas - the view canvas.