NEURON
ShapeView Class Reference

#include <shape.h>

Inheritance diagram for ShapeView:
View XYView Observable

Public Member Functions

 ShapeView (ShapeScene *)
 
 ShapeView (ShapeScene *, Coord *)
 
virtual ~ShapeView ()
 
- Public Member Functions inherited from View
 View (Scene *)
 
 View (Coord x, Coord y, Coord span, Scene *, Coord xsize=200, Coord ysize=200)
 
 View (Coord left, Coord bottom, Coord x_span, Coord y_span, Scene *, Coord xsize=200, Coord ysize=200)
 
virtual ~View ()
 
virtual Coord x () const
 
virtual Coord y () const
 
virtual Coord view_width () const
 
virtual Coord view_height () const
 
void origin (Coord x, Coord y)
 
virtual void box_size (Coord x1, Coord y1, Coord x2, Coord y2)
 
virtual void move_view (Coord dx, Coord dy)
 
virtual void scale_view (Coord xorg, Coord yorg, float dxscale, float dyscale)
 
virtual XYViewnew_view (Coord x1, Coord y1, Coord x2, Coord y2)
 
- Public Member Functions inherited from XYView
 XYView (Scene *, Coord xsize=200, Coord ysize=200)
 
 XYView (Coord x1, Coord y1, Coord x_span, Coord y_span, Scene *, Coord xsize=200, Coord ysize=200)
 
virtual ~XYView ()
 
virtual Scenescene () const
 
virtual Coord left () const
 
virtual Coord right () const
 
virtual Coord top () const
 
virtual Coord bottom () const
 
virtual Coord width () const
 
virtual Coord height () const
 
virtual void damage (Glyph *, const Allocation &, bool fixed=false, bool viewfixed=false)
 
virtual void damage (Coord x1, Coord y1, Coord x2, Coord y2)
 
virtual void damage_all ()
 
virtual void damage_area (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
 
virtual void set_damage_area (Canvas *)
 
virtual void request (Requisition &) const
 
virtual void allocate (Canvas *, const Allocation &, Extension &)
 
virtual void pick (Canvas *, const Allocation &, int depth, Hit &)
 
virtual void undraw ()
 
Canvascanvas ()
 
const Transformers2o () const
 
void canvas (Canvas *)
 
void size (Coord x1, Coord y1, Coord x2, Coord y2)
 
void origin (Coord x1, Coord y1)
 
void x_span (Coord)
 
void y_span (Coord)
 
Coord x_pick_epsilon ()
 
Coord y_pick_epsilon ()
 
void rebind ()
 
virtual void save (std::ostream &)
 
OcViewGlyphparent ()
 
virtual void printfile (const char *)
 
virtual void zout (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
 
virtual void zin (Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
 
Coord view_margin () const
 
virtual void view_ratio (float xratio, float yratio, Coord &x, Coord &y) const
 
virtual void ratio_view (Coord x, Coord y, float &xratio, float &yratio) const
 
virtual void stroke (Canvas *, const Color *, const Brush *)
 
- Public Member Functions inherited from Observable
 Observable ()=default
 
virtual ~Observable ()
 
virtual void attach (Observer *)
 
virtual void detach (Observer *)
 
virtual void notify ()
 

Additional Inherited Members

- Static Public Member Functions inherited from XYView
static XYViewcurrent_pick_view ()
 
static void current_pick_view (XYView *)
 
static XYViewcurrent_draw_view ()
 
- Protected Member Functions inherited from View
virtual void transform (Transformer &, const Allocation &, const Allocation &natural) const
 
- Protected Member Functions inherited from XYView
void scene2view (const Allocation &parent) const
 
void csize (Coord x0, Coord xsize, Coord y0, Coord ysize) const
 
- Protected Attributes inherited from XYView
Coord x_pick_epsilon_
 
Coord y_pick_epsilon_
 

Detailed Description

Definition at line 160 of file shape.h.

Constructor & Destructor Documentation

◆ ShapeView() [1/2]

ShapeView::ShapeView ( ShapeScene )

◆ ShapeView() [2/2]

ShapeView::ShapeView ( ShapeScene ,
Coord  
)

◆ ~ShapeView()

virtual ShapeView::~ShapeView ( )
virtual

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