#include <ropeNode.h>
Inheritance diagram for RopeNode:
Public Types | |
enum | UVMode { UV_none, UV_parametric, UV_distance, UV_distance2 } |
Public Member Functions | |
virtual void | output (ostream &out) const |
virtual void | write (ostream &out, int indent_level=0) const |
virtual PandaNode * | make_copy () const |
virtual bool | safe_to_transform () const |
virtual bool | has_cull_callback () const |
virtual bool | cull_callback (CullTraverser *trav, CullTraverserData &data) |
INLINE void | set_curve (NurbsCurveEvaluator *curve) |
INLINE NurbsCurveEvaluator * | get_curve () const |
INLINE void | set_render_mode (RenderMode render_mode) |
INLINE RenderMode | get_render_mode () const |
INLINE void | set_uv_mode (UVMode uv_mode) |
INLINE UVMode | get_uv_mode () const |
INLINE void | set_uv_scale (const LVecBase2f &uv_scale) |
INLINE const LVecBase2f & | get_uv_scale () const |
INLINE void | set_num_segs (int num_segs) |
INLINE int | get_num_segs () const |
INLINE void | set_thickness (float thickness) |
INLINE float | get_thickness () const |
void | reset_bound (const NodePath &rel_to) |
virtual void | write_datagram (BamWriter *manager, Datagram &dg) |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
void | register_with_read_factory () |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
PUBLISHED | __pad1__: enum RenderMode { RM_thread |
PUBLISHED | RM_billboard |
Protected Member Functions | |
RopeNode (const RopeNode ©) | |
virtual BoundingVolume * | recompute_internal_bound () |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
TypedWritable * | make_from_bam (const FactoryParams ¶ms) |
Private Types | |
typedef CycleDataReader< CData > | CDReader |
typedef CycleDataWriter< CData > | CDWriter |
Private Member Functions | |
BoundingVolume * | do_recompute_bound (const NodePath &rel_to) |
void | render_thread (CullTraverser *trav, CullTraverserData &data, NurbsCurveResult *result) |
void | render_billboard (CullTraverser *trav, CullTraverserData &data, NurbsCurveResult *result) |
Private Attributes | |
PUBLISHED | __pad0__: RopeNode(const string &name) |
PipelineCycler< CData > | _cycler |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Reimplemented from PandaNode. Definition at line 135 of file ropeNode.h. |
|
Reimplemented from PandaNode. Definition at line 136 of file ropeNode.h. |
|
Definition at line 65 of file ropeNode.h. Referenced by render_billboard(), and render_thread(). |
|
Definition at line 86 of file ropeNode.cxx. References _cycler. Referenced by make_copy(), and make_from_bam(). |
|
Reimplemented from PandaNode. Definition at line 152 of file ropeNode.cxx. References data, get_curve(), get_num_segs(), get_render_mode(), PandaNode::PT(), render_billboard(), render_thread(), and RM_billboard. |
|
Definition at line 229 of file ropeNode.cxx. References GeometricBoundingVolume::around(), DCAST_INTO_R, get_curve(), NurbsCurveEvaluator::get_vertices(), NULL, and PandaNode::recompute_internal_bound(). Referenced by recompute_internal_bound(), and reset_bound(). |
|
Reimplemented from PandaNode. Definition at line 527 of file ropeNode.cxx. References _cycler, PandaNode::fillin(), and BamReader::read_cdata(). Referenced by make_from_bam(). |
|
Reimplemented from PandaNode. Definition at line 158 of file ropeNode.h. |
|
Reimplemented from PandaNode. Definition at line 147 of file ropeNode.h. Referenced by register_with_read_factory(). |
|
Referenced by cull_callback(), do_recompute_bound(), output(), and write(). |
|
Referenced by cull_callback(), render_billboard(), and render_thread(). |
|
Referenced by cull_callback(). |
|
Referenced by render_billboard(), and render_thread(). |
|
Reimplemented from PandaNode. Definition at line 155 of file ropeNode.h. |
|
Referenced by render_billboard(), and render_thread(). |
|
Referenced by render_billboard(), and render_thread(). |
|
Reimplemented from PandaNode. Definition at line 128 of file ropeNode.cxx. |
|
Reimplemented from PandaNode. Definition at line 150 of file ropeNode.h. References PandaNode::get_class_type(), PandaNode::init_type(), and register_type(). Referenced by ConfigureFn(). |
|
Reimplemented from PandaNode. Definition at line 101 of file ropeNode.cxx. References RopeNode(). |
|
Reimplemented from PandaNode. Definition at line 508 of file ropeNode.cxx. References fillin(), params, parse_params(), and RopeNode(). Referenced by register_with_read_factory(). |
|
Reimplemented from PandaNode. Definition at line 180 of file ropeNode.cxx. References get_curve(), and PandaNode::output(). |
|
Reimplemented from PandaNode. Definition at line 219 of file ropeNode.cxx. References do_recompute_bound(), and PandaNode::NodePath. |
|
Reimplemented from PandaNode. Definition at line 483 of file ropeNode.cxx. References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory(). Referenced by ConfigureFn(). |
|
|
|
Definition at line 205 of file ropeNode.cxx. References PandaNode::changed_internal_bound(), and do_recompute_bound(). |
|
Reimplemented from PandaNode. Definition at line 114 of file ropeNode.cxx. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from PandaNode. Definition at line 191 of file ropeNode.cxx. References get_curve(), indent(), and PandaNode::write(). |
|
Reimplemented from PandaNode. Definition at line 494 of file ropeNode.cxx. References _cycler, BamWriter::write_cdata(), and PandaNode::write_datagram(). |
|
Reimplemented from PandaNode. Definition at line 41 of file ropeNode.h. |
|
Reimplemented from PandaNode. Definition at line 58 of file ropeNode.h. |
|
Reimplemented from PandaNode. Definition at line 134 of file ropeNode.h. Referenced by fillin(), RopeNode(), and write_datagram(). |
|
Reimplemented from PandaNode. Definition at line 31 of file ropeNode.cxx. |
|
Definition at line 58 of file ropeNode.h. Referenced by cull_callback(). |