#include <hermiteCurve.h>
Public Member Functions | |
HermiteCurveCV () | |
HermiteCurveCV (const HermiteCurveCV &c) | |
~HermiteCurveCV () | |
void | set_point (const LVecBase3f &point) |
void | set_in (const LVecBase3f &in) |
Sets the CV's in tangent. | |
void | set_out (const LVecBase3f &out) |
Sets the CV's out tangent. | |
void | set_type (int type) |
Sets the continuity type of the CV. | |
void | set_name (const string &name) |
Sets the name associated with the CV. | |
void | format_egg (ostream &out, int indent, int num_dimensions, bool show_in, bool show_out, float scale_in, float scale_out) const |
Formats the CV for output to an egg file. | |
void | write_datagram (BamWriter *manager, Datagram &me) const |
Function to write the important information in the particular object to a Datagram. | |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Function that reads out of the datagram (or asks manager to read) all of the data that is needed to re-create this object and stores it in the appropiate place. | |
Public Attributes | |
LVecBase3f | _p |
LVecBase3f | _in |
LVecBase3f | _out |
int | _type |
string | _name |
Hermite curve CV's include an in and out tangent, as well as a position.
Definition at line 63 of file hermiteCurve.h.
|
Definition at line 69 of file hermiteCurve.cxx. |
|
Definition at line 81 of file hermiteCurve.cxx. |
|
Definition at line 96 of file hermiteCurve.cxx. |
|
Function that reads out of the datagram (or asks manager to read) all of the data that is needed to re-create this object and stores it in the appropiate place.
Definition at line 299 of file hermiteCurve.cxx. Referenced by wrap_hpr(). |
|
Formats the CV for output to an egg file.
Definition at line 222 of file hermiteCurve.cxx. References _out, _p, indent(), and show_vec3(). |
|
Sets the CV's in tangent.
Definition at line 110 of file hermiteCurve.cxx. Referenced by HermiteCurve::get_num_cvs(). |
|
Sets the name associated with the CV.
Definition at line 208 of file hermiteCurve.cxx. |
|
Sets the CV's out tangent.
Definition at line 139 of file hermiteCurve.cxx. References _type. Referenced by HermiteCurve::get_num_cvs(). |
|
Definition at line 69 of file hermiteCurve.h. References _in, _name, _out, _p, and _type. Referenced by HermiteCurve::get_num_cvs(). |
|
Sets the continuity type of the CV. Values may be HC_CUT, indicating a discontinous break in the curve, HC_FREE, for unconstrained in and out tangents, HC_G1, for in and out tangents constrained to be collinear, and HC_SMOOTH, for in and out tangents constrained to be equal. Other than HC_CUT, these are for documentation only; setting this has no direct effect on the tangents. Definition at line 182 of file hermiteCurve.cxx. References _in, _p, HC_CUT, HC_FREE, indent(), and show_vec3(). Referenced by HermiteCurve::get_num_cvs(). |
|
Function to write the important information in the particular object to a Datagram.
Definition at line 276 of file hermiteCurve.cxx. References ParametricCurve::convert_to_hermite(). |
|
Definition at line 82 of file hermiteCurve.h. Referenced by CubicCurveseg::get_pt(), HermiteCurve::HermiteCurve(), set_point(), and set_type(). |
|
Definition at line 84 of file hermiteCurve.h. Referenced by set_point(). |
|
Definition at line 82 of file hermiteCurve.h. Referenced by format_egg(), CubicCurveseg::get_pt(), HermiteCurve::HermiteCurve(), and set_point(). |
|
Definition at line 82 of file hermiteCurve.h. Referenced by format_egg(), CubicCurveseg::get_pt(), HermiteCurve::HermiteCurve(), HermiteCurve::rebuild_curveseg(), set_point(), and set_type(). |
|
Definition at line 83 of file hermiteCurve.h. Referenced by HermiteCurve::HermiteCurve(), HermiteCurve::rebuild_curveseg(), set_out(), and set_point(). |