API Documentation
Loading...
Searching...
No Matches
MaterialRasterBase Class Referenceabstract

Base class for painting pixels at a time into a 2D texture. More...

#include <MaterialRaster.h>

Inheritance diagram for MaterialRasterBase:
[legend]
Collaboration diagram for MaterialRasterBase:
[legend]

Public Member Functions

virtual void addImageBuffer (const Buffer< uint01 > &pixels, const Vector< 2, uint04 > &size, const Matrix< fltp08 > &camera_matrix)=0
 
virtual void addPixelInfo (const RGBColor &pixel, const Vector< 2, fltp08 > &location, uint04 weight)=0
 
virtual void addPixelInfo (const RGBColor &pixel, const Vector< 2, uint04 > &location, uint08 weight)=0
 
virtual void addPixelInfo (const Vector< 4, fltp04 > &pixel, const Vector< 2, fltp08 > &location, uint08 weight)=0
 
virtual void addPixelInfo (const Vector< 4, fltp04 > &pixel, const Vector< 2, uint04 > &location, uint08 weight)=0
 
virtual const StringimageID () const =0
 
 MaterialRasterBase (const RasterInfo &raster_info)
 
virtual void updateImage ()=0
 

Protected Attributes

RasterInfo m_raster_info
 

Detailed Description

Base class for painting pixels at a time into a 2D texture.


Constructor & Destructor Documentation

◆ MaterialRasterBase()

MaterialRasterBase ( const RasterInfo & raster_info)
inline

Member Function Documentation

◆ addImageBuffer()

virtual void addImageBuffer ( const Buffer< uint01 > & pixels,
const Vector< 2, uint04 > & size,
const Matrix< fltp08 > & camera_matrix )
pure virtual

Implemented in MaterialRaster.

◆ addPixelInfo() [1/4]

virtual void addPixelInfo ( const RGBColor & pixel,
const Vector< 2, fltp08 > & location,
uint04 weight )
pure virtual

Implemented in MaterialRaster.

◆ addPixelInfo() [2/4]

virtual void addPixelInfo ( const RGBColor & pixel,
const Vector< 2, uint04 > & location,
uint08 weight )
pure virtual

Implemented in MaterialRaster.

◆ addPixelInfo() [3/4]

virtual void addPixelInfo ( const Vector< 4, fltp04 > & pixel,
const Vector< 2, fltp08 > & location,
uint08 weight )
pure virtual

Implemented in MaterialRaster.

◆ addPixelInfo() [4/4]

virtual void addPixelInfo ( const Vector< 4, fltp04 > & pixel,
const Vector< 2, uint04 > & location,
uint08 weight )
pure virtual

Implemented in MaterialRaster.

◆ imageID()

virtual const String & imageID ( ) const
pure virtual

Implemented in MaterialRaster.

◆ updateImage()

virtual void updateImage ( )
pure virtual

Implemented in MaterialRaster.

Member Data Documentation

◆ m_raster_info

RasterInfo m_raster_info
protected

The documentation for this class was generated from the following file: