This class describes a CPK color scheme.
More...
|
| SBDColorSchemeCPK () |
| Constructs a CPK color scheme.
|
|
| SBDColorSchemeCPK (const SBNodeIndexer &nodeIndexer) |
| Constructs a CPK color scheme.
|
|
virtual | ~SBDColorSchemeCPK () |
| Destructs the color scheme.
|
|
|
virtual bool | isSerializable () const override |
| Returns true.
|
|
virtual void | serialize (SBCSerializer *serializer, const SBNodeIndexer &nodeIndexer, const SBVersionNumber &sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber &classVersionNumber=SBVersionNumber(1, 0, 0)) const override |
| 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)) override |
| Unserializes the color scheme.
|
|
|
| SBDDataGraphNodeColorScheme () |
| Constructs a color scheme.
|
|
virtual | ~SBDDataGraphNodeColorScheme () |
| Destructs the color scheme.
|
|
virtual bool | canHavePalette () const |
| Returns whether the color scheme requires and therefore can have a color palette.
|
|
virtual SBDPalette * | getDefaultPalette () const |
| Returns a clone of the default color palette for this color scheme.
|
|
bool | hasPalette () const |
| Returns whether the color scheme has a color palette defined.
|
|
const SBDPalette * | getPalette () const |
| Returns a pointer to a color palette owned by the color scheme.
|
|
void | setPalette (SBDPalette *palette) |
| Sets the color palette for color schemes that can have it. The color scheme takes ownership of the color palette. If NULL is supplied then it will reset to the default color palette.
|
|
void | resetPalette () |
| Resets the color palette to the default one for color schemes that can have it.
|
|
void | requestUpdate () |
| Requests a material update for a node to which the material that owns this color scheme is applied.
|
|
| SB_DECLARE_DATA (SBDDataGraphNodeColorScheme) |
|
unsigned int | getMemoryFootprint () const |
|
void | printReferencesToOwners () const |
|
| SBCReferenceTarget () |
|
virtual | ~SBCReferenceTarget () |
|
| SBDDataGraphNodeColorScheme (SBDDataGraphNodeColorSchemeData *dataPointer) |
|
void | removeAllReferenceOwners () |
|
| SBCReferenceTarget (SBCReferenceTargetData *dataPointer) |
|
SBCReferenceTargetData * | dataPointer |
|
This class describes a CPK color scheme. Please refer to this page for more information.
- See also
- Color schemes
◆ clone()
◆ getColor()
◆ isSerializable()
bool SBDColorSchemeCPK::isSerializable |
( |
| ) |
const |
|
overridevirtual |
◆ serialize()
◆ unserialize()