HDK
|
#include <PXL_DeepSampleFilter.h>
Public Member Functions | |
PXL_DeepSampleFilter () | |
virtual | ~PXL_DeepSampleFilter () |
virtual int | filteredTupleSize (const char *name, int src_size) const |
const PXL_DeepChannelListPtr & | updateChannels (const PXL_DeepChannelListPtr &ch) |
virtual PXL_DeepSampleListPtr | filter (const PXL_DeepSampleListPtr &l) const =0 |
Modify the incoming sample list to create a new sample list. More... | |
const PXL_DeepChannelListPtr & | channels () const |
Return the channel list after the filter has run. More... | |
![]() | |
SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
Default constructor: Sets counter to 0. More... | |
SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
Copy constructor: Sets counter to 0. More... | |
UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
Assignment operator: Does not modify counter. More... | |
SYS_FORCE_INLINE uint32 | use_count () const noexcept |
Return current counter. More... | |
SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Static Public Member Functions | |
static PXL_DeepSampleFilterPtr | nullFilter () |
static PXL_DeepSampleFilterPtr | monochrome (const UT_StringHolder &opac=UT_StringRef("Of")) |
static PXL_DeepSampleFilterPtr | precomposite (const UT_StringHolder &opac=UT_StringRef("Of")) |
static PXL_DeepSampleFilterPtr | uncomposite (const UT_StringHolder &opac=UT_StringRef("Of")) |
Protected Member Functions | |
virtual void | doUpdateChannels (const PXL_DeepChannelListPtr &ch)=0 |
void | setChannels (const PXL_DeepChannelListPtr &c) |
![]() | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Protected Attributes | |
PXL_DeepChannelListPtr | myChannels |
This sample filter creates a new PXL_DeepsampleList from a source deep sample list.
Multiple filters can be chained together and applied after the
Definition at line 24 of file PXL_DeepSampleFilter.h.
PXL_DeepSampleFilter::PXL_DeepSampleFilter | ( | ) |
|
virtual |
|
inline |
Return the channel list after the filter has run.
Definition at line 53 of file PXL_DeepSampleFilter.h.
|
protectedpure virtual |
|
pure virtual |
Modify the incoming sample list to create a new sample list.
|
virtual |
Return the tuple size of the filtered result. This may be called before the channel list is defined. It should return 0 if the channel will be filtered out of the resulting samples.
By default, the tuple size will remain unchanged.
|
static |
|
static |
|
static |
|
inlineprotected |
Definition at line 73 of file PXL_DeepSampleFilter.h.
|
static |
|
inline |
Update the channel list. This should call the protected setChannels(). It returns the channel list output by this filter.
Definition at line 42 of file PXL_DeepSampleFilter.h.
|
protected |
Definition at line 77 of file PXL_DeepSampleFilter.h.