#include <parametricCurveDrawer.h>
Inheritance diagram for ParametricCurveDrawer:
Public Member Functions | |
INLINE float | get_max_t () const |
INLINE void | redraw () |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
PT (GeomNode) _geom_node | |
PT (ParametricCurveCollection) _curves | |
Protected Attributes | |
bool | _frame_accurate |
Private Member Functions | |
virtual | ~ParametricCurveDrawer () |
void | set_curve (ParametricCurve *curve) |
void | set_curves (ParametricCurveCollection *curves) |
void | clear_curves () |
ParametricCurveCollection * | get_curves () |
GeomNode * | get_geom_node () |
PT (GeomNode) detach_geom_node() | |
void | set_num_segs (float num_segs) |
float | get_num_segs () const |
void | set_num_ticks (float num_ticks) |
float | get_num_ticks () const |
void | set_color (float r, float g, float b) |
void | set_tick_color (float r, float g, float b) |
void | set_frame_accurate (bool frame_accurate) |
bool | get_frame_accurate () const |
virtual bool | draw () |
void | hide () |
void | set_tick_scale (float scale) |
float | get_tick_scale () const |
Static Private Member Functions | |
void | get_tick_marks (const LVecBase3f &tangent, LVecBase3f &t1, LVecBase3f &t2) |
Private Attributes | |
PUBLISHED | __pad0__: ParametricCurveDrawer() |
float | _num_segs |
LineSegs | _lines |
LineSegs | _ticks |
bool | _drawn |
float | _num_ticks |
float | _tick_scale |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 49 of file parametricCurveDrawer.cxx. References clear_curves(), and hide(). |
|
Definition at line 104 of file parametricCurveDrawer.cxx. References NULL, and set_curves(). Referenced by ~ParametricCurveDrawer(). |
|
Reimplemented in NurbsCurveDrawer. Definition at line 279 of file parametricCurveDrawer.cxx. References _drawn, _frame_accurate, _lines, _num_segs, _num_ticks, _tick_scale, _ticks, cfloor(), LineSegs::create(), LineSegs::draw_to(), get_max_t(), ParametricCurve::get_max_t(), ParametricCurve::get_point(), ParametricCurve::get_pt(), get_tick_marks(), hide(), LineSegs::move_to(), NULL, scale, and t. Referenced by NurbsCurveDrawer::draw(). |
|
Implements TypedObject. Reimplemented in NurbsCurveDrawer. Definition at line 95 of file parametricCurveDrawer.h. References TypedObject::get_class_type(), and TypedObject::init_type(). |
|
Reimplemented from TypedObject. Reimplemented in NurbsCurveDrawer. Definition at line 85 of file parametricCurveDrawer.h. Referenced by NurbsCurveDrawer::force_init_type(), NurbsCurveDrawer::get_type(), and NurbsCurveDrawer::init_type(). |
|
Definition at line 114 of file parametricCurveDrawer.cxx. |
|
Definition at line 264 of file parametricCurveDrawer.cxx. References _frame_accurate. |
|
Definition at line 132 of file parametricCurveDrawer.cxx. |
|
Referenced by draw(). |
|
Definition at line 184 of file parametricCurveDrawer.cxx. References _num_segs. |
|
Definition at line 211 of file parametricCurveDrawer.cxx. References _num_ticks. |
|
Definition at line 406 of file parametricCurveDrawer.cxx. Referenced by draw(). |
|
Definition at line 394 of file parametricCurveDrawer.cxx. References _tick_scale. |
|
Implements TypedObject. Reimplemented in NurbsCurveDrawer. Definition at line 92 of file parametricCurveDrawer.h. References TypedObject::get_class_type(). |
|
Definition at line 369 of file parametricCurveDrawer.cxx. References _drawn. Referenced by draw(), and ~ParametricCurveDrawer(). |
|
Reimplemented from TypedObject. Reimplemented in NurbsCurveDrawer. Definition at line 88 of file parametricCurveDrawer.h. References TypedObject::get_class_type(), and register_type(). Referenced by ConfigureFn(), NurbsCurveDrawer::force_init_type(), and NurbsCurveDrawer::init_type(). |
|
|
|
|
|
Referenced by set_curve(). |
|
|
Definition at line 224 of file parametricCurveDrawer.cxx. References _lines, b, g, r, and LineSegs::set_color(). |
|
Definition at line 63 of file parametricCurveDrawer.cxx. References PT(), and set_curves(). |
|
Definition at line 79 of file parametricCurveDrawer.cxx. References NULL, redraw(), and ParametricCurveCollection::register_drawer(). Referenced by clear_curves(), and set_curve(). |
|
Definition at line 252 of file parametricCurveDrawer.cxx. References _frame_accurate, and redraw(). |
|
Definition at line 169 of file parametricCurveDrawer.cxx. |
|
Definition at line 199 of file parametricCurveDrawer.cxx. References _num_ticks, and redraw(). |
|
Definition at line 236 of file parametricCurveDrawer.cxx. References _ticks, b, g, r, and LineSegs::set_color(). |
|
Definition at line 382 of file parametricCurveDrawer.cxx. References _tick_scale, redraw(), and scale. |
|
Reimplemented from TypedObject. Reimplemented in NurbsCurveDrawer. Definition at line 36 of file parametricCurveDrawer.h. |
|
Definition at line 80 of file parametricCurveDrawer.h. |
|
Definition at line 75 of file parametricCurveDrawer.h. Referenced by draw(), NurbsCurveDrawer::draw(), get_frame_accurate(), and set_frame_accurate(). |
|
Definition at line 79 of file parametricCurveDrawer.h. Referenced by draw(), and set_color(). |
|
Definition at line 78 of file parametricCurveDrawer.h. Referenced by draw(), get_num_segs(), and set_num_segs(). |
|
Definition at line 81 of file parametricCurveDrawer.h. Referenced by draw(), get_num_ticks(), and set_num_ticks(). |
|
Definition at line 82 of file parametricCurveDrawer.h. Referenced by draw(), get_tick_scale(), and set_tick_scale(). |
|
Definition at line 79 of file parametricCurveDrawer.h. Referenced by draw(), and set_tick_color(). |
|
Reimplemented from TypedObject. Reimplemented in NurbsCurveDrawer. Definition at line 24 of file parametricCurveDrawer.cxx. |