This class describes a color scheme based on atom's partial charge. More...
Constructors and destructors | |
SBDColorSchemePerPartialCharge () | |
SBDColorSchemePerPartialCharge (const SBNodeIndexer &nodeIndexer, const SBDColorPalette *colorPalette=SBDColorPaletteDefaultPalette::divergingHCLBlue2Red) | |
virtual | ~SBDColorSchemePerPartialCharge () |
Serialization | |
bool | isSerializable () const |
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 |
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. | |
Additional Inherited Members | |
Public Member Functions inherited from SBDColorSchemePerAttribute< float > | |
SBDColorSchemePerAttribute () | |
SBDColorSchemePerAttribute (const SBNodeIndexer &nodeIndexer, const SBDDataGraphNodePredicate &nodePredicate, const SBDDataGraphNodeGetter< float > &nodeGetter, const SBDColorPalette *colorPalette=new SBDColorPalette()) | |
virtual | ~SBDColorSchemePerAttribute () |
bool | isSerializable () const |
Returns true when the class is serializable. | |
virtual void | getColor (float *color, SBDDataGraphNode *node=0, const SBPosition3 &position=SBPosition3::zero) const |
Returns a color given a node and / or a position . | |
Public Member Functions inherited from SBDDataGraphNodeColorScheme | |
SBDDataGraphNodeColorScheme () | |
Constructs a color scheme. | |
virtual | ~SBDDataGraphNodeColorScheme () |
Destructs the color scheme. | |
This class describes a per partial charge color scheme. Please refer to this page for more information.