#include <shape.h>
Public Member Functions | |
ShapeSection (Section *) | |
virtual | ~ShapeSection () |
virtual void | request (Requisition &) const |
virtual void | allocate (Canvas *, const Allocation &, Extension &) |
virtual void | draw (Canvas *, const Allocation &) const |
virtual void | fast_draw (Canvas *, Coord x, Coord y, boolean) const |
virtual void | pick (Canvas *, const Allocation &, int depth, Hit &) |
virtual void | setColor (const Color *, ShapeScene *) |
const Color * | color () |
virtual void | set_range_variable (Symbol *) |
virtual void | clear_variable () |
virtual void | selectMenu () |
virtual boolean | near_section (Coord, Coord, Coord mineps) const |
float | how_near (Coord, Coord) const |
float | arc_position (Coord, Coord) const |
int | get_coord (double arc, Coord &, Coord &) const |
Section * | section () const |
boolean | good () const |
virtual void | damage (ShapeScene *) |
virtual void | draw_seg (Canvas *, const Color *, int iseg) const |
virtual void | draw_points (Canvas *, const Color *, int, int) const |
virtual void | transform3d (Rotation3d *) |
virtual void | size (Coord &l, Coord &b, Coord &r, Coord &t) const |
void | scale (Coord x) |
Coord | scale () |
void | update_ptrs () |
Private Member Functions | |
void | trapezoid (Canvas *, const Color *, int i) const |
void | trapezoid (Canvas *, const Color *, float, float, float, float, float, float) const |
void | loc (double, Coord &, Coord &) |
void | bevel_join (Canvas *, const Color *, int, float) const |
Private Attributes | |
double ** | pvar_ |
Section * | sec_ |
Coord | len_scale_ |
const Color * | color_ |
const Color ** | old_ |
Coord | xmin_ |
Coord | xmax_ |
Coord | ymin_ |
Coord | ymax_ |
Coord * | x_ |
Coord * | y_ |
int | n_ |
ShapeSection::ShapeSection | ( | Section * | ) |
virtual ShapeSection::~ShapeSection | ( | ) | [virtual] |
virtual void ShapeSection::allocate | ( | Canvas * | , | |
const Allocation & | , | |||
Extension & | ||||
) | [virtual] |
float ShapeSection::arc_position | ( | Coord | , | |
Coord | ||||
) | const |
virtual void ShapeSection::clear_variable | ( | ) | [virtual] |
const Color* ShapeSection::color | ( | ) | [inline] |
References color_.
virtual void ShapeSection::damage | ( | ShapeScene * | ) | [virtual] |
virtual void ShapeSection::draw | ( | Canvas * | , | |
const Allocation & | ||||
) | const [virtual] |
Implements FastShape.
int ShapeSection::get_coord | ( | double | arc, | |
Coord & | , | |||
Coord & | ||||
) | const |
boolean ShapeSection::good | ( | ) | const |
Referenced by nrniv_sh_push().
float ShapeSection::how_near | ( | Coord | , | |
Coord | ||||
) | const |
void ShapeSection::loc | ( | double | , | |
Coord & | , | |||
Coord & | ||||
) | [private] |
virtual boolean ShapeSection::near_section | ( | Coord | , | |
Coord | , | |||
Coord | mineps | |||
) | const [virtual] |
virtual void ShapeSection::request | ( | Requisition & | ) | const [virtual] |
Coord ShapeSection::scale | ( | ) | [inline] |
References len_scale_.
void ShapeSection::scale | ( | Coord | x | ) | [inline] |
References len_scale_.
Referenced by nrniv_len_scale().
Section* ShapeSection::section | ( | ) | const |
Referenced by nrniv_sh_push().
virtual void ShapeSection::selectMenu | ( | ) | [virtual] |
virtual void ShapeSection::setColor | ( | const Color * | , | |
ShapeScene * | ||||
) | [virtual] |
virtual void ShapeSection::size | ( | Coord & | l, | |
Coord & | b, | |||
Coord & | r, | |||
Coord & | t | |||
) | const [virtual] |
virtual void ShapeSection::transform3d | ( | Rotation3d * | ) | [virtual] |
void ShapeSection::trapezoid | ( | Canvas * | , | |
const Color * | , | |||
float | , | |||
float | , | |||
float | , | |||
float | , | |||
float | , | |||
float | ||||
) | const [private] |
void ShapeSection::update_ptrs | ( | ) |
const Color* ShapeSection::color_ [private] |
Referenced by color().
Coord ShapeSection::len_scale_ [private] |
Referenced by scale().
int ShapeSection::n_ [private] |
const Color** ShapeSection::old_ [private] |
double** ShapeSection::pvar_ [private] |
Section* ShapeSection::sec_ [private] |
Coord* ShapeSection::x_ [private] |
Coord ShapeSection::xmax_ [private] |
Coord ShapeSection::xmin_ [private] |
Coord * ShapeSection::y_ [private] |
Coord ShapeSection::ymax_ [private] |
Coord ShapeSection::ymin_ [private] |