SkyShaderObjectData Class Reference

#include <c4d_skyshaderobjectdata.h>

Inheritance diagram for SkyShaderObjectData:

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)
 
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)
 
- Public Member Functions inherited from GeTempPublicNode2D< PrivateChunk >
PrivateChunkGetNext () const
 
PrivateChunkGetPrev () const
 
void InsertBefore (PrivateChunk *n)
 
void InsertAfter (PrivateChunk *n)
 
void Remove ()
 

Private Member Functions

virtual Bool Init ()
 
virtual Bool CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans)
 
virtual Int32 GetChunkLevel ()
 
void GetMaterialParameter (Int32 lID, GeListNode *pNode, GeData &d)
 
void SetMaterialParameter (Int32 lID, GeListNode *pNode, const GeData &d)
 
virtual Bool GetDParameter (const DescID &id, GeData &t_data)
 
virtual Bool SetDParameter (const DescID &id, const GeData &t_data)
 

Private Attributes

BaseLink m_MaterialLink
 
BaseLink m_VolumeMatLink
 
SplineDatapSplineData
 

Friends

class BaseDocument
 

Constructor/Destructor

 SkyShaderObjectData ()
 
 ~SkyShaderObjectData ()
 

Read/Write

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

Additional Inherited Members

- Protected Member Functions inherited from NodeData
virtual void Free ()
 
virtual Bool Execute ()
 
virtual Int32 GetDiskType () const
 
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)
 

Detailed Description

Node data class for Cinema 4D's Physical Sky object.

Member Typedef Documentation

◆ SUPER

typedef NodeData SUPER

Constructor & Destructor Documentation

◆ SkyShaderObjectData()

Default constructor.

◆ ~SkyShaderObjectData()

Default destructor.

Member Function Documentation

◆ IsInstanceOf()

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

Reimplemented from NodeData.

◆ Init()

virtual Bool Init ( )
privatevirtual

Called when an instance of a derived node data class needs to be initialized.

Returns
true if successful, otherwise false.

Reimplemented from NodeData.

◆ CopyToX()

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

Private.

Reimplemented from NodeData.

◆ GetChunkLevel()

virtual Int32 GetChunkLevel ( )
privatevirtual

Reimplemented from PrivateChunk.

◆ GetMaterialParameter()

void GetMaterialParameter ( Int32  lID,
GeListNode pNode,
GeData d 
)
private

◆ SetMaterialParameter()

void SetMaterialParameter ( Int32  lID,
GeListNode pNode,
const GeData d 
)
private

◆ GetDParameter()

virtual Bool GetDParameter ( const DescID id,
GeData t_data 
)
privatevirtual

Reimplemented from PrivateChunk.

◆ SetDParameter()

virtual Bool SetDParameter ( const DescID id,
const GeData t_data 
)
privatevirtual

Reimplemented from PrivateChunk.

◆ Read()

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

Reads the Sky object data from a hyper file.

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

Reimplemented from NodeData.

◆ Write()

Bool Write ( HyperFile hf)
virtual

Writes the Sky object to a hyper file.

Parameters
[in]hfThe hyper file to write to. The caller owns the pointed hyper file.

Reimplemented from PrivateChunk.

Friends And Related Function Documentation

◆ BaseDocument

friend class BaseDocument
friend

Member Data Documentation

◆ m_MaterialLink

BaseLink m_MaterialLink
private

◆ m_VolumeMatLink

BaseLink m_VolumeMatLink
private

◆ pSplineData

SplineData* pSplineData
private