hep.wired.heprep.representation
Class DrawAsEllipse

java.lang.Object
  extended by hep.wired.heprep.representation.AbstractDrawAs
      extended by hep.wired.heprep.representation.DrawAsEllipse
All Implemented Interfaces:
DrawAs, UVWindices, WiredRegistry.ID, XYZindices

public class DrawAsEllipse
extends AbstractDrawAs

Draws one or more ellipses, centered at HepRepPoints, with given "Radius" and "Radius2", positioned using "Phi", "Theta" and "Omega".

Version:
$Id: DrawAsEllipse.java 8598 2006-08-14 20:38:02Z duns $
Author:
Mark Donszelmann

Field Summary
 
Fields inherited from interface hep.wired.util.XYZindices
X, Y, Z
 
Fields inherited from interface hep.wired.util.UVWindices
U, V, W
 
Constructor Summary
DrawAsEllipse()
           
 
Method Summary
 void draw(org.freehep.graphics2d.VectorGraphics graphics, HepRepInstance instance, Attributes atts, GraphicsMode mode, Projection projection, ViewPort viewPort)
          Draws an HepRepInstance into VectorGraphics using given Attributes.
 void frame(org.freehep.graphics2d.VectorGraphics graphics, HepRepInstance instance, Attributes atts, GraphicsMode mode, Projection projection, ViewPort viewPort)
          Draws a frame of an HepRepInstance into VectorGraphics using given Attributes.
 String getDescription()
          Describes what this DrawAs value does.
 String getKey()
          Returns DrawAs key
 String getName()
          Returns a short name.
 
Methods inherited from class hep.wired.heprep.representation.AbstractDrawAs
fillArray, getID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawAsEllipse

public DrawAsEllipse()
Method Detail

getKey

public String getKey()
Description copied from interface: DrawAs
Returns DrawAs key


getName

public String getName()
Description copied from interface: DrawAs
Returns a short name.


getDescription

public String getDescription()
Description copied from interface: DrawAs
Describes what this DrawAs value does.


draw

public void draw(org.freehep.graphics2d.VectorGraphics graphics,
                 HepRepInstance instance,
                 Attributes atts,
                 GraphicsMode mode,
                 Projection projection,
                 ViewPort viewPort)
Description copied from interface: DrawAs
Draws an HepRepInstance into VectorGraphics using given Attributes. Color and LineWidth are already set correctly for drawing. The attribute "fill" should be checked if filling applies.


frame

public void frame(org.freehep.graphics2d.VectorGraphics graphics,
                  HepRepInstance instance,
                  Attributes atts,
                  GraphicsMode mode,
                  Projection projection,
                  ViewPort viewPort)
Description copied from interface: DrawAs
Draws a frame of an HepRepInstance into VectorGraphics using given Attributes. Color and LineWidth are NOT set.



Copyright © 1996-2013 FreeHEP. All Rights Reserved.