#include <c4d_polygonobjectdata.h>
Public Types | |
typedef PointObjectData | SUPER |
Public Types inherited from PointObjectData | |
typedef NodeData | SUPER |
Public Types inherited from NodeData | |
typedef PrivateChunk | SUPER |
Public Member Functions | |
virtual Bool | IsInstanceOf (cineware::Int32 id) const |
Public Member Functions inherited from PointObjectData | |
Public Member Functions inherited from NodeData | |
NodeData () | |
BaseList2D * | GetNode () |
void | SetNode (BaseList2D *ptr) |
BaseTag * | GetTag (Int32 id) |
BaseTag * | MakeTag (Int32 id) |
Public Member Functions inherited from PrivateChunk | |
PrivateChunk () | |
Bool | ReadChunk (HyperFile *hf, Bool keepin=false, Bool noheader=false) |
virtual Bool | IsListHead () |
virtual Int32 | GetType () const |
virtual Int32 | GetInstanceType () const |
Bool | ReadObject (HyperFile *hf, Bool readheader) |
Bool | WriteObject (HyperFile *hf, Int32 type) |
Bool | CopyTo (PrivateChunk *dest, COPYFLAGS flags, AliasTrans *trans) |
virtual Bool | GetDParameter (const DescID &id, GeData &data) |
virtual Bool | SetDParameter (const DescID &id, const GeData &data) |
Bool | GetParameter (Int32 id, GeData &data) |
Bool | SetParameter (Int32 id, const GeData &data) |
Bool | GetParameter (const DescID &id, GeData &data) |
Bool | SetParameter (const DescID &id, const GeData &data) |
virtual Int32 | GetChunkLevel () |
Public Member Functions inherited from GeTempPublicNode2D< PrivateChunk > | |
PrivateChunk * | GetNext () const |
PrivateChunk * | GetPrev () const |
void | InsertBefore (PrivateChunk *n) |
void | InsertAfter (PrivateChunk *n) |
void | Remove () |
Private Member Functions | |
virtual Int32 | GetDiskType () const |
virtual Bool | CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans) |
Private Attributes | |
BaseSelect | bs_v |
BaseSelect | hide_v |
BaseSelect | bs_e |
BaseSelect | hide_e |
BaseSelect | phong_e |
NgonBase * | m_NgonBase |
Friends | |
class | PolygonObject |
Constructor/Destructor | |
PolygonObjectData () | |
~PolygonObjectData () | |
Resize | |
Bool | _ResizeObject (Int32 pcnt, Int32 vcnt) |
Bool | _ResizeObject (Int32 pcnt, Int32 vcnt, Int32 ncnt) |
N-gon | |
NgonBase * | _GetNgonBase () |
Read/Write | |
virtual Bool | Read (HyperFile *hf, Int32 id, Int32 level) |
virtual Bool | Write (HyperFile *hf) |
Additional Inherited Members | |
Protected Member Functions inherited from PointObjectData | |
Bool | _ResizeObject (Int32 pcnt) |
Protected Member Functions inherited from NodeData | |
virtual Bool | Init () |
virtual void | Free () |
virtual Bool | Execute () |
virtual Bool | TranslateDescID (GeListNode *node, const DescID &id, DescID &res_id, GeListNode *&res_at) |
Protected Member Functions inherited from PrivateChunk | |
virtual Bool | HandleSubChunk (HyperFile *hf, Int32 id, Int32 level) |
Node data class for polygonal objects.
typedef PointObjectData SUPER |
Default constructor.
~PolygonObjectData | ( | ) |
Default destructor.
|
virtual |
Reimplemented from PointObjectData.
|
privatevirtual |
Gets the node's unique disk type ID.
Reimplemented from PointObjectData.
|
privatevirtual |
Private.
Reimplemented from PointObjectData.
Changes the number of points and polygons in the object.
[in] | pcnt | The new point count. |
[in] | vcnt | The new polygon count. |
Changes the number of points, polygons and N-gons.
[in] | pcnt | The new point count. |
[in] | vcnt | The new polygon count. |
[in] | ncnt | The new N-gon count. |
NgonBase* _GetNgonBase | ( | ) |
Gets the NgonBase instance for the object.
Reads the polygon object data from a hyper file.
[in] | hf | The hyper file to read from. The caller owns the pointed hyper file. |
[in] | id | The type ID of the polygon object to read. |
[in] | level | The disklevel of the object to read. |
Reimplemented from PointObjectData.
Writes the polygon object data to a hyper file.
[in] | hf | The hyper file to write to. The caller owns the pointed hyper file. |
Reimplemented from PointObjectData.
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |