11 #ifndef __BRAY_PixelOracle__
12 #define __BRAY_PixelOracle__
21 class BRAY_PixelState;
22 class BRAY_FilterInit;
52 static void freePluginCache();
59 virtual const char *className()
const = 0;
78 virtual size_t fillPixels(BRAY_PixelState *pstate,
88 virtual bool initializeOracle(BRAY_FilterInit &init,
89 int xres,
int yres,
int spp,
125 const float *readPixel(
const BRAY_PixelState &pstate,
126 int aov_index,
int px,
int py)
const;
133 float randomF(BRAY_PixelState &pstate)
const;
142 uint randomI(BRAY_PixelState &pstate)
const;
151 int addAOV(BRAY_FilterInit &init,
virtual BRAY_SampleFilterPtr sampleFilter(BRAY_FilterInit &init, const UT_StringArray &all_aovs)
SYS_VISIBILITY_EXPORT void newBRAYPixelOracle(void *)
SYS_HashType optionsHash() const
Return the hash of the arguments for this filter.
#define SYS_VISIBILITY_EXPORT
UT_UniquePtr< BRAY_SampleFilter > BRAY_SampleFilterPtr
std::size_t SYS_HashType
Define the type for hash values.
JSON reader class which handles parsing of JSON or bJSON files.
GLint GLint GLsizei GLint GLenum GLenum const void * pixels
Class which writes ASCII or binary JSON streams.
**But if you need a result
UT_UniquePtr< BRAY_PixelOracle > BRAY_PixelOraclePtr
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GLuint const GLchar * name
A map of string to various well defined value types.
UT_UniquePtr< Factory > FactoryPtr
**If you just want to fire and args
GLubyte GLubyte GLubyte GLubyte w