12 #ifndef __BRAY_PixelFilter__
13 #define __BRAY_PixelFilter__
23 class BRAY_PixelState;
24 class BRAY_FilterInit;
53 bool include_deprecated=
false);
61 static void freePluginCache();
71 virtual const char *className()
const = 0;
102 virtual void filter(BRAY_PixelState &pstate,
105 size_t nsamples) = 0;
117 bool sampleHitOrMiss(
const BRAY_PixelState &ps,
int sidx)
const;
122 void writePixel(BRAY_PixelState &ps,
130 void overwritePixel(BRAY_PixelState &ps,
136 void accumulatePixel(BRAY_PixelState &ps,
142 bool hasWrittenPixel(
const BRAY_PixelState &ps,
153 void initializeWeight(BRAY_FilterInit &init,
178 virtual void setResolution(BRAY_FilterInit &init,
192 int addAOV(BRAY_FilterInit &init,
UT_UniquePtr< Factory > FactoryPtr
#define SYS_VISIBILITY_EXPORT
void setAOVs(const UT_IntArray &aovs)
virtual int aovLimit() const
std::size_t SYS_HashType
Define the type for hash values.
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
**But if you need a result
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
Sample data for processing.
GLuint const GLchar * name
virtual bool isDeprecated() const
Test if the filter is deprecated.
A map of string to various well defined value types.
SYS_VISIBILITY_EXPORT void newBRAYPixelFilter(void *)
GLubyte GLubyte GLubyte GLubyte w
const UT_IntArray & aovs() const
UT_UniquePtr< BRAY_PixelFilter > BRAY_PixelFilterPtr
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
SYS_HashType optionsHash() const