Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

Arrow2d Class Reference

#include <Arrow2d.h>

List of all members.

Public Member Functions

 Arrow2d ()
void render (int x, int y, float length, float alpha, float scale)
void renderGlyph (float x1, float y1, float x2, float y2)


Detailed Description

This file defines 2d Arrow glyph wich is used to render render the ArrowPlot.


Constructor & Destructor Documentation

Arrow2d::Arrow2d  )  [inline]
 

The constructor


Member Function Documentation

void Arrow2d::render int  x,
int  y,
float  length,
float  alpha,
float  scale
 

Render the arrow starting in the point x,y.

Parameters:
x coordinate in pixels
y coordinate in pixels
length of the arrow in screen space, responding to the current grid size (= gridsize/2)
Note: we might pass here an angle and make this method. otherwise we would need and array of Arrow2d and not CVector3f

void Arrow2d::renderGlyph float  x1,
float  y1,
float  x2,
float  y2
 

Render the Arrow starting at the given x1,y1 to x2,y2.

Parameters:
x1 in screen coordinates
y1 in screen coordinates
x2 in screen coordinates
y2 in screen coordinates


The documentation for this class was generated from the following files:
Generated on Tue Jan 24 00:36:47 2006 for ZVis by  doxygen 1.4.1