The ReduxGL class.
More...
#include <redux.hpp>
◆ ReduxGL()
pic::ReduxGL::ReduxGL |
( |
std::string |
reduxOperation, |
|
|
bool |
bDomainTransform |
|
) |
| |
◆ ~ReduxGL()
pic::ReduxGL::~ReduxGL |
( |
| ) |
|
◆ allocateReduxData()
static void pic::ReduxGL::allocateReduxData |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
channels, |
|
|
std::vector< GLuint > & |
stack, |
|
|
int |
minSize = 2 |
|
) |
| |
|
inlinestatic |
allocateReduxData allocates a pyramid for computing the Redux operator.
- Parameters
-
width | |
height | |
channels | |
minSize | |
- Returns
◆ createCheck()
static ReduxGL* pic::ReduxGL::createCheck |
( |
| ) |
|
|
inlinestatic |
◆ createLogMean()
static ReduxGL* pic::ReduxGL::createLogMean |
( |
| ) |
|
|
inlinestatic |
◆ createMax()
static ReduxGL* pic::ReduxGL::createMax |
( |
| ) |
|
|
inlinestatic |
◆ createMean()
static ReduxGL* pic::ReduxGL::createMean |
( |
| ) |
|
|
inlinestatic |
◆ createMin()
static ReduxGL* pic::ReduxGL::createMin |
( |
| ) |
|
|
inlinestatic |
◆ createMinPos()
static ReduxGL* pic::ReduxGL::createMinPos |
( |
| ) |
|
|
inlinestatic |
◆ createSum()
static ReduxGL* pic::ReduxGL::createSum |
( |
| ) |
|
|
inlinestatic |
◆ divideByTwoWithEvenDividend()
static int pic::ReduxGL::divideByTwoWithEvenDividend |
( |
int |
x | ) |
|
|
inlinestatic |
divideByTwoWithEvenDividend if x is even it computes x / 2 otherwise (x + 1) / 2.
- Parameters
-
- Returns
- If x is even it returns x/2; otherwise it returns (x + 1) / 2.
◆ initShaders()
void pic::ReduxGL::initShaders |
( |
| ) |
|
|
protected |
◆ Process()
GLuint pic::ReduxGL::Process |
( |
GLuint |
texIn, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
channels, |
|
|
GLuint |
texOut |
|
) |
| |
Process.
- Parameters
-
texIn | |
width | |
height | |
channels | |
texOut | |
- Returns
◆ Redux()
GLuint pic::ReduxGL::Redux |
( |
GLuint |
texIn, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
channels, |
|
|
std::vector< GLuint > & |
stack |
|
) |
| |
|
inline |
Redux.
- Parameters
-
texIn | |
width | |
height | |
channels | |
stack | |
- Returns
◆ bDomainTransform
bool pic::ReduxGL::bDomainTransform |
|
protected |
◆ counter
int pic::ReduxGL::counter |
|
protected |
◆ fbo
◆ fragment_source
std::string pic::ReduxGL::fragment_source |
|
protected |
◆ fragment_source_domain_transform
std::string pic::ReduxGL::fragment_source_domain_transform |
|
protected |
◆ geometry_source
std::string pic::ReduxGL::geometry_source |
|
protected |
◆ quad
◆ reduxOperation
std::string pic::ReduxGL::reduxOperation |
|
protected |
◆ techinques
◆ vertex_source
std::string pic::ReduxGL::vertex_source |
|
protected |
The documentation for this class was generated from the following file:
- C:/Users/Francesco/Documents/GitHub/piccante/include/util/gl/redux.hpp