ShapeScene Class Reference

#include <shape.h>

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

List of all members.

Public Types

enum  { SECTION = Graph::EXTRAGRAPHTOOL, ROTATE, EXTRASHAPETOOL }
enum  { show_diam, show_centroid, show_schematic }

Public Member Functions

 ShapeScene (SectionList *=nil)
virtual ~ShapeScene ()
virtual void erase_all ()
virtual void observe (SectionList *=nil)
virtual void flush ()
virtual ShapeSectionselected ()
virtual float arc_selected ()
virtual void selected (ShapeSection *, Coord x=fil, Coord y=fil)
virtual float nearest (Coord, Coord)
virtual void wholeplot (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
void color (Section *sec1, Section *sec2, const Color *)
void color (Section *sec, const Color *)
void color (const Color *)
void color (SectionList *, const Color *)
ColorValuecolor_value ()
virtual void view (Coord)
virtual void view (Coord *)
virtual void view (Rubberband *)
void shape_type (int)
int shape_type ()
virtual void section_handler (SectionHandler *)
virtual SectionHandlersection_handler ()
virtual SectionHandlersection_handler (ShapeSection *)
PolyGlyph * shape_section_list ()
virtual void transform3d (Rubberband *rb=nil)
virtual ShapeSectionshape_section (Section *)
virtual void name (const char *)
virtual void save_phase2 (ostream &)
virtual void help ()
void force ()
boolean view_all ()
void rotate ()
void rotate (Coord xorg, Coord yorg, Coord zorg, float xrad, float yrad, float zrad)

Static Public Member Functions

static ShapeScenecurrent_pick_scene ()
static ShapeScenecurrent_draw_scene ()

Private Attributes

boolean view_all_
ShapeSectionselected_
Coord x_sel_
Coord y_sel_
ColorValuecolor_value_
int shape_type_
SectionHandlersection_handler_
PolyGlyph * sg_
Rotate3Bandr3b_
CopyString * var_name_
ShapeChangeObserver * shape_changed_

Member Enumeration Documentation

anonymous enum
Enumerator:
SECTION 
ROTATE 
EXTRASHAPETOOL 
anonymous enum
Enumerator:
show_diam 
show_centroid 
show_schematic 

Constructor & Destructor Documentation

ShapeScene::ShapeScene ( SectionList = nil  ) 
virtual ShapeScene::~ShapeScene (  )  [virtual]

Member Function Documentation

virtual float ShapeScene::arc_selected (  )  [virtual]
void ShapeScene::color ( SectionList ,
const Color *   
)
void ShapeScene::color ( const Color *   ) 
void ShapeScene::color ( Section sec,
const Color *   
)
void ShapeScene::color ( Section sec1,
Section sec2,
const Color *   
)
ColorValue* ShapeScene::color_value (  ) 
static ShapeScene* ShapeScene::current_draw_scene (  )  [static]
static ShapeScene* ShapeScene::current_pick_scene (  )  [static]
virtual void ShapeScene::erase_all (  )  [virtual]

Reimplemented from Graph.

Reimplemented in ShapePlot.

virtual void ShapeScene::flush (  )  [virtual]

Reimplemented from Graph.

Reimplemented in ShapePlot.

void ShapeScene::force (  ) 
virtual void ShapeScene::help (  )  [virtual]

Reimplemented from Graph.

virtual void ShapeScene::name ( const char *   )  [virtual]
virtual float ShapeScene::nearest ( Coord  ,
Coord   
) [virtual]
virtual void ShapeScene::observe ( SectionList = nil  )  [virtual]

Reimplemented in ShapePlot.

void ShapeScene::rotate ( Coord  xorg,
Coord  yorg,
Coord  zorg,
float  xrad,
float  yrad,
float  zrad 
)
void ShapeScene::rotate (  ) 
virtual void ShapeScene::save_phase2 ( ostream &   )  [virtual]

Reimplemented from Graph.

virtual SectionHandler* ShapeScene::section_handler ( ShapeSection  )  [virtual]
virtual SectionHandler* ShapeScene::section_handler (  )  [virtual]
virtual void ShapeScene::section_handler ( SectionHandler  )  [virtual]
virtual void ShapeScene::selected ( ShapeSection ,
Coord  x = fil,
Coord  y = fil 
) [virtual]
virtual ShapeSection* ShapeScene::selected (  )  [virtual]
virtual ShapeSection* ShapeScene::shape_section ( Section  )  [virtual]
PolyGlyph* ShapeScene::shape_section_list (  ) 
int ShapeScene::shape_type (  )  [inline]

References shape_type_.

void ShapeScene::shape_type ( int   ) 
virtual void ShapeScene::transform3d ( Rubberband rb = nil  )  [virtual]
virtual void ShapeScene::view ( Rubberband  )  [virtual]
virtual void ShapeScene::view ( Coord *   )  [virtual]
virtual void ShapeScene::view ( Coord   )  [virtual]
boolean ShapeScene::view_all (  )  [inline]

References view_all_.

virtual void ShapeScene::wholeplot ( Coord &  x1,
Coord &  y1,
Coord &  x2,
Coord &  y2 
) const [virtual]

Reimplemented from Graph.


Member Data Documentation

PolyGlyph* ShapeScene::sg_ [private]
ShapeChangeObserver* ShapeScene::shape_changed_ [private]

Referenced by shape_type().

CopyString* ShapeScene::var_name_ [private]

Reimplemented from Graph.

Referenced by view_all().

Coord ShapeScene::x_sel_ [private]
Coord ShapeScene::y_sel_ [private]

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