NEURON
GraphItem Class Reference

#include <graph.h>

Inheritance diagram for GraphItem:
FastGraphItem GPolyLineItem GrGlyphItem

Public Types

enum  { ERASE_LINE = 1 , ERASE_AXIS }
 

Public Member Functions

 GraphItem (Glyph *g, bool=true, bool pick=true)
 
virtual ~GraphItem ()
 
virtual void pick (Canvas *, const Allocation &, int depth, Hit &)
 
virtual void save (std::ostream &, Coord, Coord)
 
virtual void erase (Scene *, GlyphIndex, int erase_type)
 
bool save ()
 
void save (bool s)
 
virtual bool is_polyline ()
 
virtual bool is_mark ()
 
virtual bool is_fast ()
 
virtual bool is_graphVector ()
 

Private Attributes

bool save_
 
bool pick_
 

Detailed Description

Definition at line 26 of file graph.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ERASE_LINE 
ERASE_AXIS 

Definition at line 28 of file graph.h.

Constructor & Destructor Documentation

◆ GraphItem()

GraphItem::GraphItem ( Glyph g,
bool  = true,
bool  pick = true 
)

◆ ~GraphItem()

virtual GraphItem::~GraphItem ( )
virtual

Member Function Documentation

◆ erase()

virtual void GraphItem::erase ( Scene ,
GlyphIndex  ,
int  erase_type 
)
virtual

Reimplemented in GPolyLineItem.

◆ is_fast()

virtual bool GraphItem::is_fast ( )
inlinevirtual

Reimplemented in FastGraphItem.

Definition at line 42 of file graph.h.

◆ is_graphVector()

virtual bool GraphItem::is_graphVector ( )
inlinevirtual

Definition at line 45 of file graph.h.

◆ is_mark()

virtual bool GraphItem::is_mark ( )
virtual

◆ is_polyline()

virtual bool GraphItem::is_polyline ( )
virtual

Reimplemented in GPolyLineItem.

◆ pick()

virtual void GraphItem::pick ( Canvas ,
const Allocation ,
int  depth,
Hit  
)
virtual

◆ save() [1/3]

bool GraphItem::save ( )
inline

Definition at line 34 of file graph.h.

◆ save() [2/3]

void GraphItem::save ( bool  s)
inline

Definition at line 37 of file graph.h.

◆ save() [3/3]

virtual void GraphItem::save ( std::ostream &  ,
Coord  ,
Coord   
)
virtual

Reimplemented in GPolyLineItem.

Member Data Documentation

◆ pick_

bool GraphItem::pick_
private

Definition at line 51 of file graph.h.

◆ save_

bool GraphItem::save_
private

Definition at line 50 of file graph.h.


The documentation for this class was generated from the following file: