GPolyLine Class Reference

#include <graph.h>

Inheritance diagram for GPolyLine:
Inheritance graph
[legend]
Collaboration diagram for GPolyLine:
Collaboration graph
[legend]

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 DataVecx_data () const
const DataVecy_data () const
GLabellabel () 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

DataVecy_
DataVecx_
const Color * color_
const Brush * brush_
GLabelglabel_
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 
)
GPolyLine::GPolyLine ( GPolyLine  ) 
virtual GPolyLine::~GPolyLine (  )  [virtual]

Member Function Documentation

virtual void GPolyLine::allocate ( Canvas *  ,
const Allocation &  ,
Extension &   
) [virtual]
const Brush* GPolyLine::brush (  )  const [inline]

References brush_.

void GPolyLine::brush ( const Brush *   ) 

Referenced by gr_line_info().

const Color* GPolyLine::color (  )  const [inline]

References color_.

void GPolyLine::color ( const Color *   ) 

Referenced by gr_line_info().

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]

References DataVec::erase(), and y_.

Referenced by GraphLine::erase_line().

Here is the call graph for this function:

virtual void GPolyLine::erase_line ( Scene ,
GlyphIndex   
) [virtual]

Reimplemented in GraphLine.

void GPolyLine::init ( DataVec ,
DataVec ,
const Color *  ,
const Brush *   
) [private]
boolean GPolyLine::keepable (  )  [inline]

References keepable_.

void GPolyLine::label ( GLabel  ) 
GLabel* GPolyLine::label (  )  const [inline]

References glabel_.

Referenced by gr_line_info().

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]

Reimplemented in GraphLine.

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]

Reimplemented in GraphVector.

virtual void GPolyLine::save ( ostream &   )  [virtual]

Reimplemented in GraphLine, and GraphVector.

Coord GPolyLine::x ( int  index  )  const [inline]

References DataVec::get_val(), and x_.

Here is the call graph for this function:

const DataVec* GPolyLine::x_data (  )  const [inline]

References x_.

Coord GPolyLine::y ( int  index  )  const [inline]

References DataVec::get_val(), and y_.

Here is the call graph for this function:

const DataVec* GPolyLine::y_data (  )  const [inline]

References y_.


Member Data Documentation

const Brush* GPolyLine::brush_ [protected]

Referenced by brush().

const Color* GPolyLine::color_ [protected]

Referenced by color().

GLabel* GPolyLine::glabel_ [protected]

Referenced by label().

Referenced by keepable().

DataVec* GPolyLine::x_ [protected]

Referenced by x(), and x_data().

DataVec* GPolyLine::y_ [protected]

Referenced by erase(), y(), and y_data().


The documentation for this class was generated from the following file:
Generated on Mon Jun 13 08:10:31 2011 for NEURON by  doxygen 1.6.3