#include <lineSegs.h>
Inheritance diagram for LineSegs:
Private Types | |
typedef pvector< Point > | SegmentList |
typedef pvector< SegmentList > | LineList |
Private Member Functions | |
~LineSegs () | |
void | reset () |
INLINE void | set_color (float r, float g, float b, float a=1.0f) |
INLINE void | set_color (const Colorf &color) |
INLINE void | set_thickness (float thick) |
INLINE void | move_to (float x, float y, float z) |
void | move_to (const LVecBase3f &v) |
INLINE void | draw_to (float x, float y, float z) |
void | draw_to (const LVecBase3f &v) |
const Vertexf & | get_current_position () |
bool | is_empty () |
INLINE GeomNode * | create (bool frame_accurate=false) |
GeomNode * | create (GeomNode *previous, bool frame_accurate=false) |
INLINE int | get_num_vertices () const |
INLINE Vertexf | get_vertex (int vertex) const |
INLINE void | set_vertex (int vertex, const Vertexf &vert) |
INLINE void | set_vertex (int vertex, float x, float y, float z) |
INLINE Colorf | get_vertex_color (int vertex) const |
INLINE void | set_vertex_color (int vertex, const Colorf &color) |
INLINE void | set_vertex_color (int vertex, float r, float g, float b, float a=1.0f) |
Private Attributes | |
PUBLISHED | __pad0__: LineSegs(const string &name = "lines") |
LineList | _list |
Colorf | _color |
float | _thick |
PTA_Vertexf | _created_verts |
PTA_Colorf | _created_colors |
|
Definition at line 88 of file lineSegs.h. |
|
Definition at line 87 of file lineSegs.h. |
|
Definition at line 44 of file lineSegs.cxx. |
|
|
Referenced by ParametricCurveDrawer::draw(), NurbsCurveDrawer::draw(), and PGEntry::setup(). |
|
Definition at line 88 of file lineSegs.cxx. References _color, _list, move_to(), SegmentList, and v. |
|
Referenced by ParametricCurveDrawer::draw(), NurbsCurveDrawer::draw(), and PGEntry::setup(). |
|
Definition at line 122 of file lineSegs.cxx. |
|
Referenced by NurbsCurveDrawer::hilight(), and NurbsCurveDrawer::unhilight(). |
|
|
|
|
|
Definition at line 111 of file lineSegs.cxx. References _list. |
|
Definition at line 69 of file lineSegs.cxx. References _color, _list, SegmentList, and v. |
|
Referenced by ParametricCurveDrawer::draw(), NurbsCurveDrawer::draw(), draw_to(), get_current_position(), and PGEntry::setup(). |
|
Definition at line 55 of file lineSegs.cxx. References _list. Referenced by create(). |
|
|
|
|
|
|
|
|
|
|
|
|
Referenced by NurbsCurveDrawer::hilight(), and NurbsCurveDrawer::unhilight(). |
|
Reimplemented from Namable. Definition at line 44 of file lineSegs.h. |
|
Definition at line 91 of file lineSegs.h. |
|
Definition at line 95 of file lineSegs.h. Referenced by create(). |
|
Definition at line 94 of file lineSegs.h. Referenced by create(). |
|
Definition at line 90 of file lineSegs.h. Referenced by create(), draw_to(), get_current_position(), is_empty(), move_to(), and reset(). |
|
Definition at line 92 of file lineSegs.h. Referenced by create(). |