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

#include <sprimitives.h>

Inheritance diagram for Simulacrum::TightSElem:
Inheritance graph
Collaboration diagram for Simulacrum::TightSElem:
Collaboration graph

Public Member Functions

 TightSElem (SElem::DataSource)
 
 TightSElem (const TightSElem &)
 
virtual const std::string & name () const override
 
void source (SElem::DataSource) override
 
SElem::DataSource source () override
 
SElemrgb (SElem::Precision, SElem::Precision, SElem::Precision) override
 
uint32_t rgba () const override
 
SElemrgba (uint32_t) override
 
SElem::Precision red () const override
 
SElemred (SElem::Precision) override
 
SElem::Precision green () const override
 
SElemgreen (SElem::Precision) override
 
SElem::Precision blue () const override
 
SElemblue (SElem::Precision) override
 
SElem::Precision intensity () const override
 
SElemintensity (SElem::Precision) override
 
SElem::Precision intensityUnsigned () const override
 
SElem::Precision_Signed intensitySigned () override
 
SElem::Precision segment () const override
 
SElemsegment (SElem::Precision) override
 
bool isValid () const override
 
SElemisValid (bool) override
 
bool isSigned () const override
 
SElemisSigned (bool) override
 
SElem::Precision zero () const override
 
void clear () override
 
SElem::Precision size () const override
 
TightSElemoperator= (const TightSElem &)
 
TightSElem operator+ (const TightSElem &)
 
TightSElem operator- (const TightSElem &)
 
TightSElem operator* (const TightSElem &)
 
SElemNew (SElem::DataSource data=nullptr) 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 SElemoperator= (const SElem &)
 
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

◆ TightSElem() [1/2]

TightSElem::TightSElem ( SElem::DataSource  newdata)

◆ TightSElem() [2/2]

TightSElem::TightSElem ( const TightSElem that)

Member Function Documentation

◆ blue() [1/2]

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

Implements Simulacrum::SElem.

◆ blue() [2/2]

SElem & TightSElem::blue ( SElem::Precision  bval)
overridevirtual

Implements Simulacrum::SElem.

◆ clear()

void TightSElem::clear ( )
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ green() [1/2]

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

Implements Simulacrum::SElem.

◆ green() [2/2]

SElem & TightSElem::green ( SElem::Precision  gval)
overridevirtual

Implements Simulacrum::SElem.

◆ intensity() [1/2]

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

Implements Simulacrum::SElem.

◆ intensity() [2/2]

SElem & TightSElem::intensity ( SElem::Precision  ival)
overridevirtual

Implements Simulacrum::SElem.

◆ intensitySigned()

SElem::Precision_Signed TightSElem::intensitySigned ( )
overridevirtual

Implements Simulacrum::SElem.

◆ intensityUnsigned()

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

Implements Simulacrum::SElem.

◆ isSigned() [1/2]

bool TightSElem::isSigned ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isSigned() [2/2]

SElem & TightSElem::isSigned ( bool  validity)
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [1/2]

bool TightSElem::isValid ( ) const
overridevirtual

Implements Simulacrum::SElem.

◆ isValid() [2/2]

SElem & TightSElem::isValid ( bool  validity)
overridevirtual

Implements Simulacrum::SElem.

◆ name()

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

Implements Simulacrum::SElem.

◆ New()

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

Implements Simulacrum::SElem.

◆ operator*()

TightSElem TightSElem::operator* ( const TightSElem rhs)

◆ operator+()

TightSElem TightSElem::operator+ ( const TightSElem rhs)

◆ operator-()

TightSElem TightSElem::operator- ( const TightSElem rhs)

◆ operator=()

TightSElem & TightSElem::operator= ( const TightSElem rhs)

◆ red() [1/2]

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

Implements Simulacrum::SElem.

◆ red() [2/2]

SElem & TightSElem::red ( SElem::Precision  rval)
overridevirtual

Implements Simulacrum::SElem.

◆ rgb()

SElem & TightSElem::rgb ( SElem::Precision  rval,
SElem::Precision  gval,
SElem::Precision  bval 
)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [1/2]

uint32_t TightSElem::rgba ( ) const
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ rgba() [2/2]

SElem & TightSElem::rgba ( uint32_t  newrgb)
overridevirtual

Reimplemented from Simulacrum::SElem.

◆ segment() [1/2]

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

Implements Simulacrum::SElem.

◆ segment() [2/2]

SElem & TightSElem::segment ( SElem::Precision  sval)
overridevirtual

Implements Simulacrum::SElem.

◆ size()

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

Implements Simulacrum::SElem.

◆ source() [1/2]

SElem::DataSource TightSElem::source ( )
overridevirtual

Implements Simulacrum::SElem.

◆ source() [2/2]

void TightSElem::source ( SElem::DataSource  newsource)
overridevirtual

Implements Simulacrum::SElem.

◆ zero()

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

Implements Simulacrum::SElem.


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