Open Search
    BaseChannel Class Reference

    #include <c4d_basechannel.h>

    Inheritance diagram for BaseChannel:

    Public Types

    typedef PrivateChunk SUPER
     

    Public Member Functions

    virtual Bool IsInstanceOf (cineware::Int32 id) const
     
    - Public Member Functions inherited from PrivateChunk
     PrivateChunk ()
     
    Bool ReadChunk (HyperFile *hf, Bool keepin=false, Bool noheader=false)
     
    virtual Bool IsListHead ()
     
    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 ()
     

    Private Attributes

    BaseContainer m_bc
     

    GetType

    Int32 GetType () const
     

    Private

    virtual Bool CopyToX (PrivateChunk *dst, COPYFLAGS flags, AliasTrans *trans)
     
    virtual Bool HandleSubChunk (HyperFile *hf, Int32 id, Int32 level)
     
    Bool Write (HyperFile *hf)
     

    Additional Inherited Members

    Detailed Description

    Represents a channel in a material. Call Material::GetChannel() to retrieve an instance.

    Member Typedef Documentation

    ◆ SUPER

    Member Function Documentation

    ◆ IsInstanceOf()

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

    Reimplemented from PrivateChunk.

    ◆ GetType()

    Int32 GetType ( ) const
    virtual

    Gets the type of the channel.

    Warning
    Must be called to make sure that the derived channel really is of the right type before casting it and trying to access its members.
    Returns
    The channel type.

    Reimplemented from PrivateChunk.

    ◆ CopyToX()

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

    Private.

    Reimplemented from PrivateChunk.

    ◆ HandleSubChunk()

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

    Private.

    Reimplemented from PrivateChunk.

    ◆ Write()

    Bool Write ( HyperFile hf)
    virtual

    Private.

    Reimplemented from PrivateChunk.

    Member Data Documentation

    ◆ m_bc

    BaseContainer m_bc
    private