NEURON
PPShape Class Reference

#include <ppshape.h>

Inheritance diagram for PPShape:
ShapeScene Graph Scene Observable

Public Member Functions

 PPShape (OcList *)
 
virtual ~PPShape ()
 
virtual void pp_append (Object *)
 
virtual void install (Object *)
 
virtual void pp_remove (PointProcessGlyph *)
 
virtual void pp_move (PointProcessGlyph *)
 
virtual void examine (PointProcessGlyph *)
 
- Public Member Functions inherited from ShapeScene
 ShapeScene (SectionList *=NULL)
 
virtual ~ShapeScene ()
 
virtual void erase_all ()
 
virtual void observe (SectionList *=NULL)
 
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 colorseg (Section *, double, const Color *)
 
void color (const Color *)
 
void color (SectionList *, const Color *)
 
ColorValue * color_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 *)
 
PolyGlyphshape_section_list ()
 
virtual void transform3d (Rubberband *rb=NULL)
 
virtual ShapeSectionshape_section (Section *)
 
virtual void name (const char *)
 
virtual void save_phase2 (std::ostream &)
 
virtual void help ()
 
void force ()
 
bool view_all ()
 
void rotate ()
 
void rotate (Coord xorg, Coord yorg, Coord zorg, float xrad, float yrad, float zrad)
 
- Public Member Functions inherited from Graph
 Graph (bool=true)
 
virtual ~Graph ()
 
void axis (DimensionName, float min, float max, float pos=0., int ntics=-1, int nminor=0, int invert=0, bool number=true)
 
GraphLineadd_var (const char *, const Color *, const Brush *, bool usepointer, int fixtype=1, neuron::container::data_handle< double > p={}, const char *lab=NULL, Object *obj=NULL)
 
void x_expr (const char *, bool usepointer)
 
void add_polyline (GPolyLine *)
 
void add_graphVector (GraphVector *)
 
void begin ()
 
void plot (float)
 
void flush ()
 
void fast_flush ()
 
void begin_line (const char *s=NULL)
 
void begin_line (const Color *, const Brush *, const char *s=NULL)
 
void line (Coord x, Coord y)
 
void mark (Coord x, Coord y, char style='+', float size=12, const Color *=NULL, const Brush *=NULL)
 
void erase ()
 
void erase_lines ()
 
virtual void delete_label (GLabel *)
 
virtual bool change_label (GLabel *, const char *, GLabel *gl=NULL)
 
void keep_lines ()
 
void keep_lines_toggle ()
 
void family (bool)
 
void family (const char *)
 
void family_label_chooser ()
 
void new_axis ()
 
void erase_axis ()
 
void view_axis ()
 
void view_box ()
 
void change_prop ()
 
void color (int)
 
void brush (int)
 
const Colorcolor () const
 
const Brushbrush () const
 
void set_cross_action (const char *, Object *, bool vectorcopy=false)
 
void cross_action (char, GPolyLine *, int)
 
void cross_action (char, Coord, Coord)
 
void simgraph ()
 
virtual void draw (Canvas *, const Allocation &) const
 
virtual void pick (Canvas *, const Allocation &, int depth, Hit &)
 
virtual GlyphIndex glyph_index (const Glyph *)
 
virtual void new_size (Coord x1, Coord y1, Coord x2, Coord y2)
 
GLabellabel (float x, float y, const char *s, int fixtype, float scale, float x_align, float y_align, const Color *)
 
GLabellabel (float x, float y, const char *s, float n=0, int fixtype=-1)
 
GLabellabel (const char *s, int fixtype=-1)
 
GLabelnew_proto_label () const
 
void fixed (float scale)
 
void vfixed (float scale)
 
void relative (float scale)
 
void align (float x, float y)
 
void choose_sym ()
 
void name (char *)
 
void change_label_color (GLabel *)
 
void change_line_color (GPolyLine *)
 
virtual void save_phase1 (std::ostream &)
 
int labeltype () const
 
virtual void see_range_plot (GraphVector *)
 
- Public Member Functions inherited from Scene
 Scene (Coord x1, Coord y1, Coord x2, Coord y2, Glyph *background=NULL)
 
virtual ~Scene ()
 
virtual void background (Glyph *bg=NULL)
 
virtual Coord x1 () const
 
virtual Coord y1 () const
 
virtual Coord x2 () const
 
virtual Coord y2 () const
 
virtual int view_count () const
 
virtual XYViewsceneview (int) const
 
virtual void dismiss ()
 
virtual void printfile (const char *)
 
virtual void modified (GlyphIndex)
 
void move (GlyphIndex, Coord x, Coord y)
 
void location (GlyphIndex, Coord &x, Coord &y) const
 
void show (GlyphIndex, bool)
 
bool showing (GlyphIndex) const
 
virtual void damage (GlyphIndex)
 
virtual void damage (Coord x1, Coord y1, Coord x2, Coord y2)
 
virtual void damage_all ()
 
virtual void tool (int)
 
virtual int tool ()
 
virtual void request (Requisition &) const
 
virtual void allocate (Canvas *, const Allocation &, Extension &)
 
virtual void print (Printer *, const Allocation &) const
 
virtual void append (Glyph *)
 
virtual void append_fixed (Glyph *)
 
virtual void append_viewfixed (Glyph *)
 
virtual void prepend (Glyph *)
 
virtual void insert (GlyphIndex, Glyph *)
 
virtual void remove (GlyphIndex)
 
virtual void replace (GlyphIndex, Glyph *)
 
virtual void change (GlyphIndex)
 
virtual void change_to_fixed (GlyphIndex, XYView *)
 
virtual void change_to_vfixed (GlyphIndex, XYView *)
 
virtual GlyphIndex count () const
 
virtual Glyphcomponent (GlyphIndex) const
 
virtual void allotment (GlyphIndex, DimensionName, Allotment &) const
 
bool drawing_fixed_item () const
 
bool mark ()
 
void mark (bool m)
 
virtual Coord mbs () const
 
ScenePickerpicker ()
 
Objecthoc_obj_ptr ()
 
void hoc_obj_ptr (Object *o)
 
bool menu_picked ()
 
- Public Member Functions inherited from Observable
 Observable ()=default
 
virtual ~Observable ()
 
virtual void attach (Observer *)
 
virtual void detach (Observer *)
 
virtual void notify ()
 

Private Attributes

PPShapeImpl * si_
 

Additional Inherited Members

- Public Types inherited from ShapeScene
enum  { SECTION = Graph::EXTRAGRAPHTOOL , ROTATE , EXTRASHAPETOOL }
 
enum  { show_diam , show_centroid , show_schematic }
 
- Public Types inherited from Graph
enum  { CROSSHAIR = Scene::EXTRATOOL , CHANGELABEL , PICK , EXTRAGRAPHTOOL }
 
- Public Types inherited from Scene
enum  {
  NOTOOL = 0 , MOVE , DELETE , CHANGECOLOR ,
  EXTRATOOL
}
 
- Static Public Member Functions inherited from ShapeScene
static ShapeScenecurrent_pick_scene ()
 
static ShapeScenecurrent_draw_scene ()
 
- Static Public Member Functions inherited from Graph
static bool label_chooser (const char *, char *, GLabel *, Coord x=400., Coord y=400.)
 
static void ascii (std::ostream *)
 
static std::ostream * ascii ()
 
- Static Public Member Functions inherited from Scene
static void save_all (std::ostream &)
 
static long scene_list_index (Scene *)
 
static const Colordefault_background ()
 
static const Colordefault_foreground ()
 
- Protected Member Functions inherited from Scene
virtual void save_class (std::ostream &, const char *)
 

Detailed Description

Definition at line 24 of file ppshape.h.

Constructor & Destructor Documentation

◆ PPShape()

PPShape::PPShape ( OcList )

◆ ~PPShape()

virtual PPShape::~PPShape ( )
virtual

Member Function Documentation

◆ examine()

virtual void PPShape::examine ( PointProcessGlyph )
virtual

◆ install()

virtual void PPShape::install ( Object )
virtual

◆ pp_append()

virtual void PPShape::pp_append ( Object )
virtual

◆ pp_move()

virtual void PPShape::pp_move ( PointProcessGlyph )
virtual

◆ pp_remove()

virtual void PPShape::pp_remove ( PointProcessGlyph )
virtual

Member Data Documentation

◆ si_

PPShapeImpl* PPShape::si_
private

Definition at line 36 of file ppshape.h.


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