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

NurbsVertex Class Reference

This represents a single control vertex in a NurbsEvaluator. More...

#include <nurbsVertex.h>

List of all members.

Public Member Functions

 NurbsVertex ()
 NurbsVertex (const NurbsVertex &copy)
void operator= (const NurbsVertex &copy)
 ~NurbsVertex ()
void set_vertex (const LVecBase4f &vertex)
const LVecBase4f & get_vertex () const
void set_space (const NodePath &space)
 Sets the space of this vertex as a fixed NodePath.

void set_space (const string &space)
 Sets the space of this vertex as a relative path from the rel_to node.

NodePath get_space (const NodePath &rel_to) const

Private Attributes

LVecBase4f _vertex
NodePath _space
string _space_path


Detailed Description

This represents a single control vertex in a NurbsEvaluator.

It may be relative to a particular coordinate space; or its coordinate space may be unspecified.

This is not related to NurbsCurve, ClassicNurbsCurve, CubicCurveseg or any of the ParametricCurve-derived objects in this module. It is a completely parallel implementation of NURBS curves, and will probably eventually replace the whole ParametricCurve class hierarchy.

Definition at line 56 of file nurbsVertex.h.


Constructor & Destructor Documentation

NurbsVertex::NurbsVertex  )  [inline]
 

Definition at line 31 of file nurbsVertex.I.

References INLINE.

NurbsVertex::NurbsVertex const NurbsVertex &  copy  )  [inline]
 

Definition at line 42 of file nurbsVertex.I.

References _space, _space_path, _vertex, and INLINE.

NurbsVertex::~NurbsVertex  )  [inline]
 

Definition at line 71 of file nurbsVertex.I.


Member Function Documentation

NodePath NurbsVertex::get_space const NodePath rel_to  )  const [inline]
 

Definition at line 136 of file nurbsVertex.I.

const LVecBase4f & NurbsVertex::get_vertex  )  const [inline]
 

Definition at line 94 of file nurbsVertex.I.

References _space, _space_path, and INLINE.

void NurbsVertex::operator= const NurbsVertex &  copy  )  [inline]
 

Definition at line 57 of file nurbsVertex.I.

References INLINE.

void NurbsVertex::set_space const string &  space  )  [inline]
 

Sets the space of this vertex as a relative path from the rel_to node.

Definition at line 123 of file nurbsVertex.I.

void NurbsVertex::set_space const NodePath space  )  [inline]
 

Sets the space of this vertex as a fixed NodePath.

Definition at line 107 of file nurbsVertex.I.

References _space, _space_path, NodePath::find(), and INLINE.

void NurbsVertex::set_vertex const LVecBase4f &  vertex  )  [inline]
 

Definition at line 82 of file nurbsVertex.I.

References _space, _space_path, and INLINE.


Member Data Documentation

NodePath NurbsVertex::_space [private]
 

Definition at line 72 of file nurbsVertex.h.

Referenced by get_vertex(), NurbsVertex(), set_space(), and set_vertex().

string NurbsVertex::_space_path [private]
 

Definition at line 73 of file nurbsVertex.h.

Referenced by get_vertex(), NurbsVertex(), set_space(), and set_vertex().

LVecBase4f NurbsVertex::_vertex [private]
 

Definition at line 71 of file nurbsVertex.h.

Referenced by NurbsVertex().


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