This class describes a color scheme. More...

Public Member Functions

 SB_DECLARE_DATA (SBDDataGraphNodeColorScheme)
 

Protected Member Functions

 SBDDataGraphNodeColorScheme (SBDDataGraphNodeColorSchemeData *dataPointer)
 

Protected Attributes

SBDDataGraphNodeColorSchemeData * dataPointer
 

Constructors and destructors

 SBDDataGraphNodeColorScheme ()
 Constructs a color scheme.
 
virtual ~SBDDataGraphNodeColorScheme ()
 Destructs the color scheme.
 

Serialization

virtual bool isSerializable () const
 Returns true when the class is serializable.
 
virtual void serialize (SBCSerializer *serializer, const SBNodeIndexer &nodeIndexer, const SBVersionNumber &sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber &classVersionNumber=SBVersionNumber(1, 0, 0)) const
 Serializes the color scheme.
 
virtual void unserialize (SBCSerializer *serializer, const SBNodeIndexer &nodeIndexer, const SBVersionNumber &sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber &classVersionNumber=SBVersionNumber(1, 0, 0))
 Unserializes the color scheme.
 

Colors

virtual void getColor (float *color, SBDDataGraphNode *node=0, const SBPosition3 &position=SBPosition3::zero) const
 Returns a color given a node and / or a position.
 

Detailed Description

This class describes a color scheme in SAMSON. Please refer to this page for more information.

See also
Color schemes