PointObjectData Class Reference

#include <c4d_pointobjectdata.h>

Inheritance diagram for PointObjectData:

Public Types

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 NodeData
 NodeData ()
 
BaseList2DGetNode ()
 
void SetNode (BaseList2D *ptr)
 
BaseTagGetTag (Int32 id)
 
BaseTagMakeTag (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 >
PrivateChunkGetNext () const
 
PrivateChunkGetPrev () const
 
void InsertBefore (PrivateChunk *n)
 
void InsertAfter (PrivateChunk *n)
 
void Remove ()
 

Protected Member Functions

virtual Bool CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans)
 
virtual Int32 GetDiskType () const
 
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)
 

Private Attributes

BaseSelect bs_p
 
BaseSelect hide_p
 

Friends

class PointObject
 

Read/Write

virtual Bool Read (HyperFile *hf, Int32 id, Int32 level)
 
virtual Bool Write (HyperFile *hf)
 

Detailed Description

Node data class for point objects (polygon meshes, splines etc.).

Member Typedef Documentation

◆ SUPER

typedef NodeData SUPER

Member Function Documentation

◆ IsInstanceOf()

virtual Bool IsInstanceOf ( cineware::Int32  id) const
virtual

Reimplemented from NodeData.

Reimplemented in PolygonObjectData.

◆ CopyToX()

virtual Bool CopyToX ( PrivateChunk dst,
COPYFLAGS  flags,
AliasTrans trans 
)
protectedvirtual

Private.

Reimplemented from NodeData.

Reimplemented in PolygonObjectData.

◆ GetDiskType()

virtual Int32 GetDiskType ( ) const
protectedvirtual

Gets the node's unique disk type ID.

Returns
The node's disk type.

Reimplemented from NodeData.

Reimplemented in PolygonObjectData.

◆ _ResizeObject()

Bool _ResizeObject ( Int32  pcnt)
protected

◆ Read()

virtual Bool Read ( HyperFile hf,
Int32  id,
Int32  level 
)
virtual

Reads the point object data from a hyper file.

Parameters
[in]hfThe hyper file to read from. The caller owns the pointed hyper file.
[in]idThe type ID of the point object to read.
[in]levelThe disklevel of the object to read.
Returns
true if successful, otherwise false.

Reimplemented from NodeData.

Reimplemented in PolygonObjectData.

◆ Write()

virtual Bool Write ( HyperFile hf)
virtual

Writes the point object data to a hyper file.

Parameters
[in]hfThe hyper file to write to. The caller owns the pointed hyper file.
Returns
true if successful, otherwise false.

Reimplemented from PrivateChunk.

Reimplemented in PolygonObjectData.

Friends And Related Function Documentation

◆ PointObject

friend class PointObject
friend

Member Data Documentation

◆ bs_p

BaseSelect bs_p
private

◆ hide_p

BaseSelect hide_p
private