Simulacrum  1.2
Public Member Functions | List of all members
Simulacrum::RGBAI32SElem Class Reference

#include <sprimitives.h>

Inheritance diagram for Simulacrum::RGBAI32SElem:
Inheritance graph
Collaboration diagram for Simulacrum::RGBAI32SElem:
Collaboration graph

Public Member Functions

 RGBAI32SElem (SElem::DataSource)
 
 RGBAI32SElem (const RGBAI32SElem &)
 
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 alpha () const override
 
virtual SElemalpha (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 override
 
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
 
virtual void clear () 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 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
 

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

◆ RGBAI32SElem() [1/2]

RGBAI32SElem::RGBAI32SElem ( SElem::DataSource  newdata)

◆ RGBAI32SElem() [2/2]

RGBAI32SElem::RGBAI32SElem ( const RGBAI32SElem target)

Member Function Documentation

◆ alpha() [1/2]

SElem::Precision RGBAI32SElem::alpha ( ) const
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ alpha() [2/2]

SElem & RGBAI32SElem::alpha ( SElem::Precision  newa)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ blue() [1/2]

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

Implements Simulacrum::SElem.

◆ blue() [2/2]

SElem & RGBAI32SElem::blue ( SElem::Precision  newb)
overridevirtual

Implements Simulacrum::SElem.

◆ clear()

void RGBAI32SElem::clear ( )
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ green() [1/2]

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

Implements Simulacrum::SElem.

◆ green() [2/2]

SElem & RGBAI32SElem::green ( SElem::Precision  newg)
overridevirtual

Implements Simulacrum::SElem.

◆ intensity() [1/2]

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

Implements Simulacrum::SElem.

◆ intensity() [2/2]

SElem & RGBAI32SElem::intensity ( SElem::Precision  newi)
overridevirtual

Implements Simulacrum::SElem.

◆ intensitySigned()

SElem::Precision_Signed RGBAI32SElem::intensitySigned ( )
overridevirtual

Implements Simulacrum::SElem.

◆ intensityUnsigned()

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

Implements Simulacrum::SElem.

◆ isSigned() [1/2]

bool RGBAI32SElem::isSigned ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isSigned() [2/2]

SElem & RGBAI32SElem::isSigned ( bool  )
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [1/2]

bool RGBAI32SElem::isValid ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [2/2]

SElem & RGBAI32SElem::isValid ( bool  )
overridevirtual

Implements Simulacrum::SElem.

◆ name()

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

Implements Simulacrum::SElem.

◆ New()

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

Implements Simulacrum::SElem.

◆ operator=()

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

Reimplemented from Simulacrum::SElem.

◆ red() [1/2]

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

Implements Simulacrum::SElem.

◆ red() [2/2]

SElem & RGBAI32SElem::red ( SElem::Precision  newr)
overridevirtual

Implements Simulacrum::SElem.

◆ rgb()

SElem & RGBAI32SElem::rgb ( SElem::Precision  rr,
SElem::Precision  gg,
SElem::Precision  bb 
)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [1/2]

uint32_t RGBAI32SElem::rgba ( ) const
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [2/2]

SElem & RGBAI32SElem::rgba ( uint32_t  newdata)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ segment() [1/2]

SElem::Precision RGBAI32SElem::segment ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ segment() [2/2]

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

Implements Simulacrum::SElem.

◆ size()

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

Implements Simulacrum::SElem.

◆ source() [1/2]

SElem::DataSource RGBAI32SElem::source ( )
overridevirtual

Implements Simulacrum::SElem.

◆ source() [2/2]

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

Implements Simulacrum::SElem.

◆ zero()

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

Implements Simulacrum::SElem.


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