HDK
|
#include <PXL_DeepCompressor.h>
Classes | |
class | Factory |
Public Member Functions | |
PXL_DeepCompressor () | |
virtual | ~PXL_DeepCompressor () |
virtual PXL_DeepChannelListPtr | channels () const =0 |
Return the channels as a result of the compress() operation. More... | |
PXL_DeepSampleListPtr | merge (const PXL_DeepSampleListPtr *slist, int nsamples) const |
PXL_DeepSampleListPtr | merge (const UT_Array< PXL_DeepSampleListPtr > &slist) const |
PXL_DeepSampleListPtr | compress (const PXL_DeepSampleListPtr &slist) const |
Compress a single sample list, returning a new sample list. More... | |
void | dump (const char *msg="") const |
Protected Member Functions | |
virtual const char * | className () const =0 |
virtual PXL_DeepSampleListPtr | doMerge (const PXL_DeepSampleListPtr *slist, int nsamples) const =0 |
virtual PXL_DeepSampleListPtr | doCompress (const PXL_DeepSampleListPtr &samples) const =0 |
Compress a single sample list, returning a new sample list. More... | |
virtual void | doDump () const |
Dump any optional information to stdout. More... | |
Combines a set of deep sample lists to create a single new deep sample list.
Deep compressors take multiple sample lists and combine them, possibly compressing them into a single deep sample list. The compressor may sit between the renderer and a deep image writer. Or it may be used to create MIP Maps for deep images.
When used by a renderer, compressors have the ability to add or modify channels.
Factory compressors include:
Name = "default Options:
Definition at line 47 of file PXL_DeepCompressor.h.
PXL_DeepCompressor::PXL_DeepCompressor | ( | ) |
|
virtual |
|
pure virtual |
Return the channels as a result of the compress() operation.
|
protectedpure virtual |
|
inline |
Compress a single sample list, returning a new sample list.
Definition at line 113 of file PXL_DeepCompressor.h.
|
protectedpure virtual |
Compress a single sample list, returning a new sample list.
|
protectedvirtual |
Dump any optional information to stdout.
|
protectedpure virtual |
Merge multiple deep sample lists into a single deep sample list. For example, this is done when creating MIP maps.
void PXL_DeepCompressor::dump | ( | const char * | msg = "" | ) | const |
|
inline |
Compress the samples provided into a single PXL_DeepSampleListPtr. The samples
array will contain pixel.myPixelResolution.x() * pixel.myPixelResolution.y()
entries.
Definition at line 101 of file PXL_DeepCompressor.h.
|
inline |
Definition at line 106 of file PXL_DeepCompressor.h.