Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xerox.VTM.* (129)com.xerox.VTM.demo.* (5)com.xerox.VTM.engine.* (41)com.xerox.VTM.glyphs.* (67)
com.xerox.VTM.svg.* (9)com.xerox.VTM.tests.* (7)

Package Samples:

com.xerox.VTM.demo
com.xerox.VTM.engine
com.xerox.VTM.glyphs
com.xerox.VTM.svg
com.xerox.VTM.tests

Classes:

VCbCurve: Cubic Curve - can be reoriented - CANNOT DETECT ENTRY/EXIT in curves, even when filled (they look as, but are not, closed shapes) a cubic curve is a curved segment that has two endpoints and two control points. Each control point determines the shape of the curve by controlling one of the endpoint tangent vectors. for this particular glyph, vx and vy correspond to the center of the imaginary segment linking the curve's start and end points the coordinates of the control points are expressed respectively w.r.t start and end points in polar coordinates (orient=0 on segment linking start and end points, ...
VQdCurve: Quadratic Curve - can be reoriented - CANNOT DETECT ENTRY/EXIT in curves, even when filled (they look as, but are not, closed shapes) a quadratic curve is a curved segment that has two endpoints and one control point. The control point determines the shape of the curve by controlling both of the endpoint tangent vectors for this particular glyph, vx and vy correspond to the center of the imaginary segment linking the curve's start and end points the coordinates of the control point are expressed w.r.t this point in polar coordinates (orient=0 on segment linking start and end points, meaning that ...
VTextOr: Standalone Text (font properties are set in the view, but can be changed for each VText using setSpecialFont()) - can be reoriented. orientation NOT STABLE (causes the VTM to hang sometimes) USE AT YOUR OWN RISK! - things seem to go much better since I've changed the order in which I apply AffineTranforms vx and vy are coordinates of lower-left corner of String because it would be too time-consuming to compute the String's center (needs to be computed at each repaint: it requires access to Graphics2D) (besides it makes the VTM unstable)
VPath: General path - cannot be resized nor reoriented (for now) - does not follow the standard object model - (vx,vy) are the coordinates of the path's first point - can detect mouse overlapping path by explicitely calling VCursor.interesctsPath(VPath p), but no event is automatically fired by the event handler when the mouse is above a VPath (if you really want to do that, you can call VCursor.getIntersectingPaths() in mouseMoved in your event handler, but this probably will be time consuming)
FPolygon: Custom polygon - CANNOT be resized nor reoriented. This is the old implementation of VPolygon, as found in zvtm 0.8.2. The new version of VPolygon can be resized, but at some cost from the efficiency point of view, so the old version is still provided here and can be used by people who do not intend to resize their Polygon instances (this implementation uses longs instead of doubles for its internal representation of the vertices, see VPolygon for other details)
VPolygon: Custom polygon - can now be resized. This new implementation of VPolygon models vertices as doubles internally to allow resizing without loss of precision (and thus resizing to small sizes does not temper with the shape aspect). It might be more memory consuming, and less efficient, so the old implementation is still offered (class FPolygon), for people who do not care about resizing VPolygon instances - cannot be reoriented for now
SwingWorker: This is the 3rd version of SwingWorker. (also known as * SwingWorker 3), an abstract class that you subclass to * perform GUI-related work in a dedicated thread. For * instructions on using this class, see: * * http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html * * Note that the API changed slightly in the 3rd version: * You must now invoke start() on the SwingWorker after * creating it.
View: A view is a window and can be composed of one or several cameras superimposed - use EView or IView A view is repainted on a regular basis when active - for inactive views, the default is to repaint only if the mouse is inside the view (but the frame is not selected) - this can be changed to repaint the view automatically even if it is not selected and if the mouse is not inside, using setRepaintPolicy()
VText: Standalone Text (font properties are set in the view, but can be changed for each VText using setSpecialFont()) vx and vy are coordinates of lower-left corner of String because it would be too time-consuming to compute the String's center (needs to be computed at each repaint: it requires access to Graphics2D) (besides it makes the VTM unstable)
CameraManager: The Camera Manager is in charge of all cameras of a virtual space (there is one camera manager per virtual space) when a camera is destroyed, its index is not reused for another one - so if camera number #3 is removed and then a new camera is added it will be assigned number #4 even though there is no camera at index #3 any longer
SwingWorkerParam: An abstract class that you subclass to perform * GUI-related work in a dedicated thread. * For instructions on using this class, see * http://java.sun.com/products/jfc/swingdoc-current/threads2.html * Allow parameters for the construct method. * @see com.xerox.VTM.engine.SwingWorker
AppEventHandler: Abstract class that every VTM-based application should subclass - deals with events like mouse clicks, keyboard events, and entering/leaving a glyph - for every method, mod tells if a modifier key is pressed at the time of the event 0 = no key, 1 = shift, 2 = ctrl, 3 = ctrl+shift
AppletEventHandler: Abstract class that every VTM-based application should subclass - deals with events like mouse clicks, keyboard events, and entering/leaving a glyph - for every method, mod tells if a modifier key is pressed at the time of the event 0 = no key, 1 = shift, 2 = ctrl, 3 = ctrl+shift
VShape: Custom shape implementing Jean-Yves Vion-Dury's model - defined by its N vertices (every vertex is between 0 (distance from shape's center=0) and 1.0 (distance from shape's center equals bounding circle radius)) - angle between each vertices is 2*Pi/N - can be reoriented
AccIView: An internal view is a window and can be composed of one or several cameras superimposed (uses a JInternalFrame) - this one is hardware accelerated (at least under Win32) using VolatileImage available since JDK 1.4.0 (does not accelerate bitmaps)
VCirShape: Circle containing a custom shape - defined by its N vertices (every vertex is between 0 (distance from shape's center=0) and 1.0 (distance from shape's center equals bounding circle radius)) - angle between each vertices is 2*Pi/N - can be reoriented
AccEView: An external view is a window and can be composed of one or several cameras superimposed (uses a standard JFrame) this one is hardware accelerated (at least under Win32) using VolatileImage available since JDK 1.4.0 (does not accelerate bitmaps)
VShapeST: Custom shape - defined by its N vertices (every vertex is between 0 (distance from shape's center=0) and 1.0 (distance from shape's center equals bounding circle radius)) - angle between each vertices is 2*Pi/N - can be reoriented - transparency
VClippedPath: General path - similar to a VPath, but implements an experimental clipping algorithm that should enhance performances (quicker rendering) when only part of the path is actually seen (draw only curves/segments that are seen)
SVGReader: An SVG interpreter for VTM - for now it covers a very limited subset of the specification (just enough to interpret GraphViz/Dot SVG output (Ellipse, Text, Path and Rectangle + limited support for Polygon)).
VBoolShape: Boolean shape - defined by a main glyph and a list of boolean operations (applied according to their order in the constructor's array) -right now we only support RectangularShape derivatives (Ellipse, Rectangle)
AccViewPanel: Each view runs in its own thread - uses double buffering - this one is hardware accelerated (at least under Win32) using VolatileImage available since JDK 1.4.0 (does not accelerate bitmaps)
VRoundRectST: Round Rectangle - cannot be reoriented - the corners are approximated to a plain rectangle for some operations like computing mouse enter/exit events (performance reasons) - transparency
Camera: a Camera is used to observe the virtual space which owns it - all cameras have unique IDs, as glyph - (x,y) coordinates, observation altitude and focal distance can be changed
VirtualSpaceManager: Virtual space manager - VTM root class - virtual space management (camera, glyphs,...) is done here - primary interface to application. This is the main class to instantiate.

Home | Contact Us | Privacy Policy | Terms of Service