This reference page is linked to from the following overview topics: Mudbox 2013.
#include <curve.h>

Public Member Functions |
|
| CurveBase () | |
| Constructor, initializes internal variables.
|
|
| virtual | ~CurveBase () |
| Virtual destructor. |
|
| virtual void | Render () |
| Virtual render method. |
|
| virtual void | Serialize (Stream &s) |
| Serialize the node. |
|
| void | SetSelected (bool bTOrF) |
| Set and get selection state. |
|
| bool | Selected () |
| virtual void | SetClosed (bool bTOrF) |
| Creates a loop. |
|
| bool | Closed () |
| virtual void | SetGeometry (mudbox::Geometry *pGeom) |
| Set the mesh that this curve is associated
with. |
|
| mudbox::Geometry * | Geometry () const |
| virtual
const AxisAlignedBoundingBox & |
BoundingBox () |
| Return world space bounding box. |
|
| virtual void | CopyTo (Node *pNode) const |
| Copies this nodes data into passed in node.
|
|
| virtual float | Length () const |
| Returns length of curve in curve's
coordinate system. |
|
Protected Attributes |
|
| abool | m_bSelected |
| abool | m_bClosed |
| aptr< mudbox::Geometry > | m_pGeometry |
|
Mesh that this curve is associated with. Can be NULL. |
|
| AxisAlignedBoundingBox | m_AABB |
| 3D world space bounding box const
AxisAlignedBoundingBox &, |
|
| bool | m_bRefreshBoundingBox |
| CurveBase | ( | ) |
Constructor, initializes internal variables.
| virtual ~CurveBase | ( | ) | [virtual] |
Virtual destructor.
| virtual void Render | ( | ) | [virtual] |
| virtual void Serialize | ( | Stream & | s | ) | [virtual] |
| void SetSelected | ( | bool | bTOrF | ) | [inline] |
| bool Selected | ( | ) | [inline] |
| virtual void SetClosed | ( | bool | bTOrF | ) | [inline, virtual] |
| bool Closed | ( | ) | [inline] |
| virtual void SetGeometry | ( | mudbox::Geometry * | pGeom | ) | [virtual] |
Set the mesh that this curve is associated with.
We had thought about doing parent child relationships where the Mesh was the parent and the Curve the child but for now we'll use pointer relationships.
| mudbox::Geometry* Geometry | ( | ) | const |
| virtual const AxisAlignedBoundingBox& BoundingBox | ( | ) | [inline, virtual] |
Return world space bounding box.
Reimplemented in MudboxCurve.
Definition at line 52 of file curve.h.
{ return m_AABB; }
| virtual void CopyTo | ( | Node * | pNode | ) | const [virtual] |
Copies this nodes data into passed in node.
Reimplemented from TreeNode.
Reimplemented in MudboxCurve.
| virtual float Length | ( | ) | const [virtual] |
Returns length of curve in curve's coordinate system.
If length is <0 then this function hasn't been implemented.
abool
m_bSelected [protected] |
aptr<mudbox::Geometry>
m_pGeometry [protected] |
Mesh that this curve is associated with. Can be NULL.
AxisAlignedBoundingBox
m_AABB [protected] |
3D world space bounding box const AxisAlignedBoundingBox &,
bool
m_bRefreshBoundingBox [protected] |