|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimColorProperty.h>
Public Member Functions | |
| ossimColorProperty (const ossimString &name=ossimString(""), const ossimRgbVector &value=ossimRgbVector(0, 0, 0)) | |
| ossimColorProperty (const ossimColorProperty &rhs) | |
| virtual ossimObject * | dup () const |
| virtual const ossimProperty & | assign (const ossimProperty &rhs) |
| virtual bool | setValue (const ossimString &value) |
| virtual void | valueToString (ossimString &valueResult) const |
| const ossimRgbVector & | getColor () const |
| void | setColor (const ossimRgbVector &value) |
| ossim_uint8 | getRed () const |
| ossim_uint8 | getGreen () const |
| ossim_uint8 | getBlue () const |
| void | setRed (ossim_uint8 r) |
| void | setGreen (ossim_uint8 r) |
| void | setBlue (ossim_uint8 r) |
Public Member Functions inherited from ossimProperty | |
| ossimProperty (const ossimString &name=ossimString("")) | |
| ossimProperty (const ossimProperty &rhs) | |
| const ossimProperty & | operator= (const ossimProperty &rhs) |
| const ossimString & | getName () const |
| void | setName (const ossimString &name) |
| virtual ossimString | valueToString () const |
| virtual const ossimContainerProperty * | asContainer () const |
| virtual ossimContainerProperty * | asContainer () |
| bool | isChangeTypeSet (int type) const |
| void | clearChangeType () |
| void | setChangeType (int type, bool on=true) |
| void | setFullRefreshBit () |
| void | setCacheRefreshBit () |
| ossimPropertyChangeType | getChangeType () const |
| bool | isFullRefresh () const |
| bool | isCacheRefresh () const |
| bool | isChangeTypeSpecified () const |
| bool | affectsOthers () const |
| virtual void | setReadOnlyFlag (bool flag) |
| bool | getReadOnlyFlag () const |
| bool | isReadOnly () const |
| void | setModifiedFlag (bool flag) |
| bool | getModifiedFlag () const |
| bool | isModified () const |
| void | clearModifiedFlag () |
| void | setDescription (const ossimString &description) |
| virtual ossimString | getDescription () const |
| virtual ossimRefPtr< ossimXmlNode > | toXml () const |
| virtual void | saveState (ossimKeywordlist &kwl, const ossimString &prefix="") const |
| virtual void | accept (ossimVisitor &visitor) |
Public Member Functions inherited from ossimObject | |
| ossimObject () | |
| virtual | ~ossimObject () |
| virtual ossimString | getShortName () const |
| virtual ossimString | getLongName () const |
| virtual ossimString | getClassName () const |
| virtual RTTItypeid | getType () const |
| virtual bool | canCastTo (ossimObject *obj) const |
| virtual bool | canCastTo (const RTTItypeid &id) const |
| virtual bool | canCastTo (const ossimString &parentClassName) const |
| virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
| virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
| virtual std::ostream & | print (std::ostream &out) const |
| Generic print method. More... | |
| virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
Public Member Functions inherited from ossimReferenced | |
| ossimReferenced () | |
| ossimReferenced (const ossimReferenced &) | |
| ossimReferenced & | operator= (const ossimReferenced &) |
| void | ref () const |
| increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unref () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unref_nodelete () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| int | referenceCount () const |
Protected Member Functions | |
| virtual | ~ossimColorProperty () |
Protected Member Functions inherited from ossimProperty | |
| virtual | ~ossimProperty () |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Protected Attributes | |
| ossimRgbVector | theValue |
Protected Attributes inherited from ossimProperty | |
| ossimString | theName |
| ossimString | theDescription |
| bool | theReadOnlyFlag |
| ossimPropertyChangeType | theChangeType |
| bool | theModifiedFlag |
Additional Inherited Members | |
Public Types inherited from ossimProperty | |
| enum | ossimPropertyChangeType { ossimPropertyChangeType_NOTSPECIFIED = 0, ossimPropertyChangeType_CACHE_REFRESH = 1, ossimPropertyChangeType_FULL_REFRESH = 2, ossimPropertyChangeType_AFFECTS_OTHERS = 4, ossimPropertyChangeType_ALL = (ossimPropertyChangeType_CACHE_REFRESH|ossimPropertyChangeType_FULL_REFRESH|ossimPropertyChangeType_AFFECTS_OTHERS) } |
Definition at line 15 of file ossimColorProperty.h.
| ossimColorProperty::ossimColorProperty | ( | const ossimString & | name = ossimString(""), |
| const ossimRgbVector & | value = ossimRgbVector(0,0,0) |
||
| ) |
Definition at line 14 of file ossimColorProperty.cpp.
Referenced by dup().
| ossimColorProperty::ossimColorProperty | ( | const ossimColorProperty & | rhs | ) |
Definition at line 21 of file ossimColorProperty.cpp.
|
protectedvirtual |
Definition at line 27 of file ossimColorProperty.cpp.
|
virtual |
Reimplemented from ossimProperty.
Definition at line 36 of file ossimColorProperty.cpp.
References ossimProperty::assign(), setValue(), theValue, and ossimProperty::valueToString().
|
virtual |
Reimplemented from ossimObject.
Definition at line 31 of file ossimColorProperty.cpp.
References ossimColorProperty().
| ossim_uint8 ossimColorProperty::getBlue | ( | ) | const |
Definition at line 102 of file ossimColorProperty.cpp.
References ossimRgbVector::getB(), and theValue.
Referenced by ossimNitfFileHeaderV2_1::setProperty().
| const ossimRgbVector & ossimColorProperty::getColor | ( | ) | const |
Definition at line 82 of file ossimColorProperty.cpp.
References theValue.
Referenced by ossimMapCompositionSource::setProperty().
| ossim_uint8 ossimColorProperty::getGreen | ( | ) | const |
Definition at line 97 of file ossimColorProperty.cpp.
References ossimRgbVector::getG(), and theValue.
Referenced by ossimNitfFileHeaderV2_1::setProperty().
| ossim_uint8 ossimColorProperty::getRed | ( | ) | const |
Definition at line 92 of file ossimColorProperty.cpp.
References ossimRgbVector::getR(), and theValue.
Referenced by ossimNitfFileHeaderV2_1::setProperty().
| void ossimColorProperty::setBlue | ( | ossim_uint8 | r | ) |
Definition at line 117 of file ossimColorProperty.cpp.
References ossimRgbVector::setB(), and theValue.
| void ossimColorProperty::setColor | ( | const ossimRgbVector & | value | ) |
| void ossimColorProperty::setGreen | ( | ossim_uint8 | r | ) |
Definition at line 112 of file ossimColorProperty.cpp.
References ossimRgbVector::setG(), and theValue.
| void ossimColorProperty::setRed | ( | ossim_uint8 | r | ) |
Definition at line 107 of file ossimColorProperty.cpp.
References ossimRgbVector::setR(), and theValue.
|
virtual |
Implements ossimProperty.
Definition at line 53 of file ossimColorProperty.cpp.
References ossimString::split(), and theValue.
Referenced by assign().
|
virtual |
Implements ossimProperty.
Definition at line 73 of file ossimColorProperty.cpp.
References ossimString::c_str(), ossimRgbVector::getB(), ossimRgbVector::getG(), ossimRgbVector::getR(), and theValue.
|
protected |
Definition at line 35 of file ossimColorProperty.h.
Referenced by assign(), getBlue(), getColor(), getGreen(), getRed(), setBlue(), setColor(), setGreen(), setRed(), setValue(), and valueToString().
1.8.14