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

#include <sprimitives.h>

Inheritance diagram for Simulacrum::BW16SElem:
Inheritance graph
Collaboration diagram for Simulacrum::BW16SElem:
Collaboration graph

Public Member Functions

 BW16SElem (SElem::DataSource)
 
 BW16SElem (const BW16SElem &)
 
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 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
 
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

uint16_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

◆ BW16SElem() [1/2]

BW16SElem::BW16SElem ( SElem::DataSource  newdata)

◆ BW16SElem() [2/2]

BW16SElem::BW16SElem ( const BW16SElem target)

Member Function Documentation

◆ blue() [1/2]

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

Implements Simulacrum::SElem.

◆ blue() [2/2]

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

Implements Simulacrum::SElem.

◆ green() [1/2]

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

Implements Simulacrum::SElem.

◆ green() [2/2]

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

Implements Simulacrum::SElem.

◆ intensity() [1/2]

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

Implements Simulacrum::SElem.

◆ intensity() [2/2]

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

Implements Simulacrum::SElem.

◆ intensitySigned()

SElem::Precision_Signed BW16SElem::intensitySigned ( )
overridevirtual

Implements Simulacrum::SElem.

◆ intensityUnsigned()

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

Implements Simulacrum::SElem.

Reimplemented in Simulacrum::BW16SignedSElem.

◆ isSigned() [1/2]

bool BW16SElem::isSigned ( ) const
overridevirtual

Implements Simulacrum::SElem.

Reimplemented in Simulacrum::BW16SignedSElem.

◆ isSigned() [2/2]

SElem & BW16SElem::isSigned ( bool  )
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [1/2]

bool BW16SElem::isValid ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [2/2]

SElem & BW16SElem::isValid ( bool  )
overridevirtual

Implements Simulacrum::SElem.

◆ name()

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

Implements Simulacrum::SElem.

Reimplemented in Simulacrum::BW16SignedSElem.

◆ New()

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

Implements Simulacrum::SElem.

Reimplemented in Simulacrum::BW16SignedSElem.

◆ operator=()

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

Reimplemented from Simulacrum::SElem.

Reimplemented in Simulacrum::BW16SignedSElem.

◆ red() [1/2]

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

Implements Simulacrum::SElem.

◆ red() [2/2]

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

Implements Simulacrum::SElem.

◆ rgb()

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

Reimplemented from Simulacrum::SElem.

◆ rgba() [1/2]

uint32_t BW16SElem::rgba ( ) const
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [2/2]

SElem & BW16SElem::rgba ( uint32_t  newdata)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ segment() [1/2]

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

Implements Simulacrum::SElem.

◆ segment() [2/2]

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

Implements Simulacrum::SElem.

◆ size()

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

Implements Simulacrum::SElem.

◆ source() [1/2]

SElem::DataSource BW16SElem::source ( )
overridevirtual

Implements Simulacrum::SElem.

◆ source() [2/2]

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

Implements Simulacrum::SElem.

◆ zero()

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

Implements Simulacrum::SElem.

Reimplemented in Simulacrum::BW16SignedSElem.

Member Data Documentation

◆ SElemData

uint16_t* Simulacrum::BW16SElem::SElemData
protected

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