Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RopeNode::CData Class Reference

Inheritance diagram for RopeNode::CData:

CycleData List of all members.

Public Member Functions

 CData ()
 CData (const CData &copy)
virtual CycleDatamake_copy () const
virtual void write_datagram (BamWriter *manager, Datagram &dg) const
 Writes the contents of this object to the datagram for shipping out to a Bam file.

virtual void fillin (DatagramIterator &scan, BamReader *manager)
 This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new RopeNode.

virtual int complete_pointers (TypedWritable **p_list, BamReader *manager)
 Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().


Public Attributes

PointerTo< NurbsCurveEvaluator_curve
RenderMode _render_mode
UVMode _uv_mode
LVecBase2f _uv_scale
int _num_segs
float _thickness

Constructor & Destructor Documentation

RopeNode::CData::CData  )  [inline]
 

Definition at line 31 of file ropeNode.I.

RopeNode::CData::CData const CData &  copy  )  [inline]
 

Definition at line 48 of file ropeNode.I.


Member Function Documentation

int CycleData::complete_pointers TypedWritable **  p_list,
BamReader manager
[virtual, inherited]
 

Receives an array of pointers, one for each time manager->read_pointer() was called in fillin().

Returns the number of pointers processed.

Reimplemented in GeomNode::CData, and PandaNode::CData.

Definition at line 63 of file cycleData.cxx.

void RopeNode::CData::fillin DatagramIterator scan,
BamReader manager
[virtual]
 

This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new RopeNode.

Reimplemented from CycleData.

Definition at line 78 of file ropeNode.cxx.

CycleData * RopeNode::CData::make_copy void   )  const [virtual]
 

Implements CycleData.

Definition at line 44 of file ropeNode.cxx.

References NULL, and writer().

void RopeNode::CData::write_datagram BamWriter manager,
Datagram dg
const [virtual]
 

Writes the contents of this object to the datagram for shipping out to a Bam file.

Reimplemented from CycleData.

Definition at line 59 of file ropeNode.cxx.

References reader().


Member Data Documentation

PointerTo< NurbsCurveEvaluator > RopeNode::CData::_curve
 

Definition at line 141 of file ropeNode.h.

int RopeNode::CData::_num_segs
 

Definition at line 145 of file ropeNode.h.

RenderMode RopeNode::CData::_render_mode
 

Definition at line 142 of file ropeNode.h.

float RopeNode::CData::_thickness
 

Definition at line 146 of file ropeNode.h.

UVMode RopeNode::CData::_uv_mode
 

Definition at line 143 of file ropeNode.h.

LVecBase2f RopeNode::CData::_uv_scale
 

Definition at line 144 of file ropeNode.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:54:54 2003 for Panda by doxygen1.3