Simulacrum
1.2
|
#include <sprimitives.h>
Public Types | |
typedef unsigned char * | DataSource |
typedef unsigned char | Data |
typedef BaseIntSign | Precision_Signed |
typedef BaseInt | Precision |
typedef SPtr< SElem > | Ptr |
Public Member Functions | |
virtual | ~SElem () |
virtual const std::string & | name () const =0 |
virtual void | source (SElem::DataSource)=0 |
virtual SElem::DataSource | source ()=0 |
virtual SElem::DataSource | newDataSource () const |
virtual SElem & | rgb (SElem::Precision, SElem::Precision, SElem::Precision) |
virtual SElem & | rgba (SElem::Precision, SElem::Precision, SElem::Precision, SElem::Precision) |
virtual uint32_t | rgba () const |
virtual SElem & | rgba (uint32_t) |
virtual SElem::Precision | red () const =0 |
virtual SElem & | red (SElem::Precision)=0 |
virtual SElem::Precision | green () const =0 |
virtual SElem & | green (SElem::Precision)=0 |
virtual SElem::Precision | blue () const =0 |
virtual SElem & | blue (SElem::Precision)=0 |
virtual SElem::Precision | alpha () const |
virtual SElem & | alpha (SElem::Precision) |
virtual SElem::Precision | intensity () const =0 |
virtual SElem & | intensity (SElem::Precision)=0 |
virtual SElem::Precision | intensityUnsigned () const =0 |
virtual SElem::Precision_Signed | intensitySigned ()=0 |
virtual SElem::Precision | segment () const =0 |
virtual SElem & | segment (SElem::Precision)=0 |
virtual bool | isSigned () const =0 |
virtual SElem & | isSigned (bool)=0 |
virtual SElem::Precision | zero () const =0 |
virtual SElem::Precision | size () const =0 |
virtual bool | isValid () const =0 |
virtual SElem & | isValid (bool)=0 |
virtual void | clear () |
virtual SElem & | operator= (const SElem &) |
virtual SElem & | operator+= (const SElem &) |
virtual SElem & | operator-= (const SElem &) |
virtual SElem & | operator*= (const SElem &) |
virtual bool | operator== (const SElem &) const |
virtual bool | operator!= (const SElem &) const |
virtual SElem::DataSource | operator* () |
virtual std::string | toString () const |
virtual SElem * | New (SElem::DataSource data=nullptr)=0 |
Static Public Member Functions | |
static void | rgb_mix (SElem &bg, SElem &fg, float alpha, SElem &targ) |
static void | rgb_mix_zerotrans (SElem &bg, SElem &fg, float alpha, SElem &targ) |
static DataSource | nullSource () |
typedef unsigned char Simulacrum::SElem::Data |
typedef unsigned char* Simulacrum::SElem::DataSource |
typedef BaseInt Simulacrum::SElem::Precision |
typedef SPtr<SElem> Simulacrum::SElem::Ptr |
|
virtual |
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem.
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
|
pure virtual |
|
virtual |
|
static |
|
virtual |
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SignedSElem, Simulacrum::BW16SElem, and Simulacrum::BW8SElem.
|
virtual |
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
virtual |
|
virtual |
Reimplemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::TightSElem, and Simulacrum::BW8SElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
pure virtual |
Implemented in Simulacrum::RGBAI32SElem, Simulacrum::BW16SElem, Simulacrum::BW8SElem, and Simulacrum::TightSElem.
|
virtual |
|
pure virtual |