HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BRAY_SampleFilter::SampleData Class Reference

Sample data for processing. More...

#include <BRAY_SampleFilter.h>

Public Member Functions

 SampleData ()
 
 SampleData (float **data, const int *sizes, const UT_Vector4 *ndc, int nplanes)
 
void init (float **data, const int *sizes, const UT_Vector4 *ndc, int nplanes)
 
int size () const
 Number of image planes. More...
 
void pixel (int sidx, int &px, int &py)
 Get the pixel location for a given sample. More...
 
void jitter (int sidx, float &jx, float &jy)
 
int size (int p) const
 The tuple size of the AOV. More...
 
float * data (int aov)
 
const float * data (int aov) const
 
float * data (int aov, int sidx)
 
const float * data (int aov, int sidx) const
 

Detailed Description

Sample data for processing.

Definition at line 64 of file BRAY_SampleFilter.h.

Constructor & Destructor Documentation

BRAY_SampleFilter::SampleData::SampleData ( )
inline

Definition at line 67 of file BRAY_SampleFilter.h.

BRAY_SampleFilter::SampleData::SampleData ( float **  data,
const int sizes,
const UT_Vector4 ndc,
int  nplanes 
)
inline

Definition at line 70 of file BRAY_SampleFilter.h.

Member Function Documentation

float* BRAY_SampleFilter::SampleData::data ( int  aov)
inline

Sample data for the given AOV

Definition at line 96 of file BRAY_SampleFilter.h.

const float* BRAY_SampleFilter::SampleData::data ( int  aov) const
inline

Sample data for the given AOV

Definition at line 97 of file BRAY_SampleFilter.h.

float* BRAY_SampleFilter::SampleData::data ( int  aov,
int  sidx 
)
inline

Sample data for a sample in the given AOV

Definition at line 102 of file BRAY_SampleFilter.h.

const float* BRAY_SampleFilter::SampleData::data ( int  aov,
int  sidx 
) const
inline

Sample data for a sample in the given AOV

Definition at line 106 of file BRAY_SampleFilter.h.

void BRAY_SampleFilter::SampleData::init ( float **  data,
const int sizes,
const UT_Vector4 ndc,
int  nplanes 
)
inline

Definition at line 81 of file BRAY_SampleFilter.h.

void BRAY_SampleFilter::SampleData::jitter ( int  sidx,
float &  jx,
float &  jy 
)
inline

Get the pixel jitter offset a given sample (offset inside pixel) Note that the jitter may be outside the range (0, 1) depending on the FIS applied.

Definition at line 121 of file BRAY_SampleFilter.h.

void BRAY_SampleFilter::SampleData::pixel ( int  sidx,
int px,
int py 
)
inline

Get the pixel location for a given sample.

Definition at line 113 of file BRAY_SampleFilter.h.

int BRAY_SampleFilter::SampleData::size ( ) const
inline

Number of image planes.

Definition at line 92 of file BRAY_SampleFilter.h.

int BRAY_SampleFilter::SampleData::size ( int  p) const
inline

The tuple size of the AOV.

Definition at line 128 of file BRAY_SampleFilter.h.


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