Simulacrum  1.2
Public Member Functions | Protected Attributes | List of all members
Simulacrum::BW8SElem Class Reference

#include <sprimitives.h>

Inheritance diagram for Simulacrum::BW8SElem:
Inheritance graph
Collaboration diagram for Simulacrum::BW8SElem:
Collaboration graph

Public Member Functions

 BW8SElem (SElem::DataSource)
 
 BW8SElem (const BW8SElem &)
 
virtual const std::string & name () const override
 
virtual void source (SElem::DataSource) override
 
virtual SElem::DataSource source () override
 
virtual SElemrgb (SElem::Precision, SElem::Precision, SElem::Precision) override
 
virtual uint32_t rgba () const override
 
virtual SElemrgba (uint32_t) override
 
virtual SElem::Precision red () const override
 
virtual SElemred (SElem::Precision) override
 
virtual SElem::Precision green () const override
 
virtual SElemgreen (SElem::Precision) override
 
virtual SElem::Precision blue () const override
 
virtual SElemblue (SElem::Precision) override
 
virtual SElem::Precision intensity () const override
 
virtual SElemintensity (SElem::Precision) override
 
virtual SElem::Precision intensityUnsigned () const override
 
virtual SElem::Precision_Signed intensitySigned () override
 
virtual SElem::Precision segment () const
 
virtual SElemsegment (SElem::Precision) override
 
virtual bool isValid () const override
 
virtual SElemisValid (bool) override
 
virtual bool isSigned () const override
 
virtual SElemisSigned (bool) override
 
virtual SElem::Precision zero () const override
 
virtual SElem::Precision size () const override
 
SElemNew (SElem::DataSource data=nullptr) override
 
virtual SElemoperator= (const SElem &) override
 
- Public Member Functions inherited from Simulacrum::SElem
virtual ~SElem ()
 
virtual SElem::DataSource newDataSource () const
 
virtual SElemrgba (SElem::Precision, SElem::Precision, SElem::Precision, SElem::Precision)
 
virtual SElem::Precision alpha () const
 
virtual SElemalpha (SElem::Precision)
 
virtual void clear ()
 
virtual SElemoperator+= (const SElem &)
 
virtual SElemoperator-= (const SElem &)
 
virtual SElemoperator*= (const SElem &)
 
virtual bool operator== (const SElem &) const
 
virtual bool operator!= (const SElem &) const
 
virtual SElem::DataSource operator* ()
 
virtual std::string toString () const
 

Protected Attributes

uint8_t * SElemData
 

Additional Inherited Members

- Public Types inherited from Simulacrum::SElem
typedef unsigned char * DataSource
 
typedef unsigned char Data
 
typedef BaseIntSign Precision_Signed
 
typedef BaseInt Precision
 
typedef SPtr< SElemPtr
 
- Static Public Member Functions inherited from Simulacrum::SElem
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 ()
 

Constructor & Destructor Documentation

◆ BW8SElem() [1/2]

BW8SElem::BW8SElem ( SElem::DataSource  newdata)

◆ BW8SElem() [2/2]

BW8SElem::BW8SElem ( const BW8SElem target)

Member Function Documentation

◆ blue() [1/2]

SElem::Precision BW8SElem::blue ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ blue() [2/2]

SElem & BW8SElem::blue ( SElem::Precision  newdata)
overridevirtual

Implements Simulacrum::SElem.

◆ green() [1/2]

SElem::Precision BW8SElem::green ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ green() [2/2]

SElem & BW8SElem::green ( SElem::Precision  newdata)
overridevirtual

Implements Simulacrum::SElem.

◆ intensity() [1/2]

SElem::Precision BW8SElem::intensity ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ intensity() [2/2]

SElem & BW8SElem::intensity ( SElem::Precision  newdata)
overridevirtual

Implements Simulacrum::SElem.

◆ intensitySigned()

SElem::Precision_Signed BW8SElem::intensitySigned ( )
overridevirtual

Implements Simulacrum::SElem.

◆ intensityUnsigned()

SElem::Precision BW8SElem::intensityUnsigned ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isSigned() [1/2]

bool BW8SElem::isSigned ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isSigned() [2/2]

SElem & BW8SElem::isSigned ( bool  )
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [1/2]

bool BW8SElem::isValid ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [2/2]

SElem & BW8SElem::isValid ( bool  )
overridevirtual

Implements Simulacrum::SElem.

◆ name()

const std::string & BW8SElem::name ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ New()

SElem * BW8SElem::New ( SElem::DataSource  data = nullptr)
overridevirtual

Implements Simulacrum::SElem.

◆ operator=()

SElem & BW8SElem::operator= ( const SElem target)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ red() [1/2]

SElem::Precision BW8SElem::red ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ red() [2/2]

SElem & BW8SElem::red ( SElem::Precision  newdata)
overridevirtual

Implements Simulacrum::SElem.

◆ rgb()

SElem & BW8SElem::rgb ( SElem::Precision  ,
SElem::Precision  ,
SElem::Precision   
)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [1/2]

uint32_t BW8SElem::rgba ( ) const
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [2/2]

SElem & BW8SElem::rgba ( uint32_t  newdata)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ segment() [1/2]

SElem::Precision BW8SElem::segment ( ) const
virtual

Implements Simulacrum::SElem.

◆ segment() [2/2]

SElem & BW8SElem::segment ( SElem::Precision  )
overridevirtual

Implements Simulacrum::SElem.

◆ size()

SElem::Precision BW8SElem::size ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ source() [1/2]

SElem::DataSource BW8SElem::source ( )
overridevirtual

Implements Simulacrum::SElem.

◆ source() [2/2]

void BW8SElem::source ( SElem::DataSource  newdata)
overridevirtual

Implements Simulacrum::SElem.

◆ zero()

SElem::Precision BW8SElem::zero ( ) const
overridevirtual

Implements Simulacrum::SElem.

Member Data Documentation

◆ SElemData

uint8_t* Simulacrum::BW8SElem::SElemData
protected

The documentation for this class was generated from the following files:
Simulacrum Project