org.hfbk.vis.visnode.VisScale Class Reference

Inheritance diagram for org.hfbk.vis.visnode.VisScale:

Inheritance graph
[legend]
Collaboration diagram for org.hfbk.vis.visnode.VisScale:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static void scaleIt (String name, float value, float scale, VisRoot root)

Package Functions

 VisScale (String name, float scale)
void transform ()
void renderSelf ()

Package Attributes

int id
String name
float value = .5f
float scale = 1
VisMarker marker

Static Package Attributes

static final float LENGTH = 50
static int scales = 0
static HashMap< String, VisScaledefaultScales = new HashMap<String, VisScale>()

Classes

class  VisMarker

Detailed Description

a scale to visualize a real value.

scales are named and automatically created and arranged around the world origin if values for them are fed via scaleIt().

a disk moves along the line, another one marks the maximum value.

Author:
paul

Definition at line 25 of file VisScale.java.


Constructor & Destructor Documentation

org.hfbk.vis.visnode.VisScale.VisScale ( String  name,
float  scale 
) [package]

Definition at line 40 of file VisScale.java.

References org.hfbk.vis.visnode.VisNode.radius, and org.hfbk.vis.visnode.VisScale.scales.

Referenced by org.hfbk.vis.visnode.VisScale.scaleIt().

Here is the caller graph for this function:


Member Function Documentation

static void org.hfbk.vis.visnode.VisScale.scaleIt ( String  name,
float  value,
float  scale,
VisRoot  root 
) [static]

automatically visualize a named value

Parameters:
name a unique name
value the value this scale currently has
scale the scaling of values (max value*scale should be 1 )
root the VisRoot new scales should be attached to

Definition at line 57 of file VisScale.java.

References org.hfbk.vis.visnode.VisRoot.add(), org.hfbk.vis.visnode.VisScale.defaultScales, org.hfbk.vis.visnode.VisScale.value, and org.hfbk.vis.visnode.VisScale.VisScale().

Here is the call graph for this function:

void org.hfbk.vis.visnode.VisScale.transform (  )  [package]

override default transform to place scales around origin like a flower bouquet.

Reimplemented from org.hfbk.vis.visnode.VisNode.

Definition at line 71 of file VisScale.java.

void org.hfbk.vis.visnode.VisScale.renderSelf (  )  [package, virtual]

render this scale, a disk on a line.

Implements org.hfbk.vis.visnode.VisNode.

Definition at line 81 of file VisScale.java.

References org.hfbk.vis.visnode.VisNode.add(), org.hfbk.vis.visnode.VisScale.LENGTH, org.hfbk.vis.visnode.VisScale.marker, org.hfbk.vis.visnode.VisScale.name, org.hfbk.vis.visnode.VisNode.position, org.hfbk.vis.visnode.VisScale.scale, and org.hfbk.vis.visnode.VisScale.value.

Here is the call graph for this function:


Member Data Documentation

final float org.hfbk.vis.visnode.VisScale.LENGTH = 50 [static, package]

Definition at line 27 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.renderSelf().

int org.hfbk.vis.visnode.VisScale.scales = 0 [static, package]

Definition at line 30 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.VisScale().

int org.hfbk.vis.visnode.VisScale.id [package]

Definition at line 32 of file VisScale.java.

String org.hfbk.vis.visnode.VisScale.name [package]

Definition at line 33 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.renderSelf().

float org.hfbk.vis.visnode.VisScale.value = .5f [package]

Definition at line 35 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.VisMarker.renderSelf(), org.hfbk.vis.visnode.VisScale.renderSelf(), and org.hfbk.vis.visnode.VisScale.scaleIt().

float org.hfbk.vis.visnode.VisScale.scale = 1 [package]

Definition at line 36 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.renderSelf().

VisMarker org.hfbk.vis.visnode.VisScale.marker [package]

Definition at line 38 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.renderSelf().

HashMap<String,VisScale> org.hfbk.vis.visnode.VisScale.defaultScales = new HashMap<String, VisScale>() [static, package]

Definition at line 48 of file VisScale.java.

Referenced by org.hfbk.vis.visnode.VisScale.scaleIt().


The documentation for this class was generated from the following file:
Generated on Tue Apr 7 17:59:54 2009 for visclient by  doxygen 1.5.1