GPolyLine Class Reference
#include <graph.h>
List of all members.
Public Member Functions |
| GPolyLine (DataVec *x, const Color *=nil, const Brush *=nil) |
| GPolyLine (DataVec *x, DataVec *y, const Color *=nil, const Brush *=nil) |
| GPolyLine (GPolyLine *) |
virtual | ~GPolyLine () |
virtual void | request (Requisition &) const |
virtual void | allocate (Canvas *, const Allocation &, Extension &) |
virtual void | draw (Canvas *, const Allocation &) const |
virtual void | draw_specific (Canvas *, const Allocation &, int, int) const |
virtual void | print (Printer *, const Allocation &) const |
virtual void | pick (Canvas *, const Allocation &, int depth, Hit &) |
virtual void | save (ostream &) |
virtual void | pick_vector () |
void | plot (Coord x, Coord y) |
void | erase () |
virtual void | erase_line (Scene *, GlyphIndex) |
void | color (const Color *) |
void | brush (const Brush *) |
const Color * | color () const |
const Brush * | brush () const |
Coord | x (int index) const |
Coord | y (int index) const |
const DataVec * | x_data () const |
const DataVec * | y_data () const |
GLabel * | label () const |
void | label (GLabel *) |
void | label_loc (Coord &x, Coord &y) const |
boolean | near (Coord, Coord, float, const Transformer &) const |
int | nearest (Coord, Coord, const Transformer &, int index=-1) const |
boolean | keepable () |
Protected Attributes |
DataVec * | y_ |
DataVec * | x_ |
const Color * | color_ |
const Brush * | brush_ |
GLabel * | glabel_ |
boolean | keepable_ |
Private Member Functions |
void | init (DataVec *, DataVec *, const Color *, const Brush *) |
Constructor & Destructor Documentation
GPolyLine::GPolyLine |
( |
DataVec * |
x, |
|
|
const Color * |
= nil , |
|
|
const Brush * |
= nil | |
|
) |
| | |
GPolyLine::GPolyLine |
( |
DataVec * |
x, |
|
|
DataVec * |
y, |
|
|
const Color * |
= nil , |
|
|
const Brush * |
= nil | |
|
) |
| | |
virtual GPolyLine::~GPolyLine |
( |
|
) |
[virtual] |
Member Function Documentation
virtual void GPolyLine::allocate |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
Extension & |
| |
|
) |
| | [virtual] |
const Brush* GPolyLine::brush |
( |
|
) |
const [inline] |
void GPolyLine::brush |
( |
const Brush * |
|
) |
|
const Color* GPolyLine::color |
( |
|
) |
const [inline] |
void GPolyLine::color |
( |
const Color * |
|
) |
|
virtual void GPolyLine::draw |
( |
Canvas * |
, |
|
|
const Allocation & |
| |
|
) |
| | const [virtual] |
virtual void GPolyLine::draw_specific |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
int |
, |
|
|
int |
| |
|
) |
| | const [virtual] |
void GPolyLine::erase |
( |
|
) |
[inline] |
virtual void GPolyLine::erase_line |
( |
Scene * |
, |
|
|
GlyphIndex |
| |
|
) |
| | [virtual] |
boolean GPolyLine::keepable |
( |
|
) |
[inline] |
GLabel* GPolyLine::label |
( |
|
) |
const [inline] |
void GPolyLine::label_loc |
( |
Coord & |
x, |
|
|
Coord & |
y | |
|
) |
| | const |
boolean GPolyLine::near |
( |
Coord |
, |
|
|
Coord |
, |
|
|
float |
, |
|
|
const Transformer & |
| |
|
) |
| | const |
int GPolyLine::nearest |
( |
Coord |
, |
|
|
Coord |
, |
|
|
const Transformer & |
, |
|
|
int |
index = -1 | |
|
) |
| | const |
virtual void GPolyLine::pick |
( |
Canvas * |
, |
|
|
const Allocation & |
, |
|
|
int |
depth, |
|
|
Hit & |
| |
|
) |
| | [virtual] |
virtual void GPolyLine::pick_vector |
( |
|
) |
[virtual] |
void GPolyLine::plot |
( |
Coord |
x, |
|
|
Coord |
y | |
|
) |
| | |
virtual void GPolyLine::print |
( |
Printer * |
, |
|
|
const Allocation & |
| |
|
) |
| | const [virtual] |
virtual void GPolyLine::request |
( |
Requisition & |
|
) |
const [virtual] |
virtual void GPolyLine::save |
( |
ostream & |
|
) |
[virtual] |
Coord GPolyLine::x |
( |
int |
index |
) |
const [inline] |
const DataVec* GPolyLine::x_data |
( |
|
) |
const [inline] |
Coord GPolyLine::y |
( |
int |
index |
) |
const [inline] |
const DataVec* GPolyLine::y_data |
( |
|
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following file:
- /home/hines/neuron/nrndox/src/ivoc/graph.h