|
Blender
V2.93
|
#include <COM_GaussianAlphaXBlurOperation.h>
Inherits blender::compositor::BlurBaseOperation.
Public Member Functions | |
| GaussianAlphaXBlurOperation () | |
| void | executePixel (float output[4], int x, int y, void *data) override |
| The inner loop of this operation. More... | |
| void | initExecution () override |
| initialize the execution More... | |
| void | deinitExecution () override |
| Deinitialize the execution. More... | |
| void * | initializeTileData (rcti *rect) override |
| bool | determineDependingAreaOfInterest (rcti *input, ReadBufferOperation *readOperation, rcti *output) override |
| void | setSubtract (bool subtract) |
| void | setFalloff (int falloff) |
Public Member Functions inherited from blender::compositor::BlurBaseOperation | |
| void | setData (const NodeBlurData *data) |
| void | setSize (float size) |
| void | setExtendBounds (bool extend_bounds) |
| void | determineResolution (unsigned int resolution[2], unsigned int preferredResolution[2]) override |
| determine the resolution of this node More... | |
Public Member Functions inherited from blender::compositor::NodeOperation | |
| virtual | ~NodeOperation () |
| void | set_name (const std::string name) |
| const std::string | get_name () const |
| void | set_id (const int id) |
| const int | get_id () const |
| const NodeOperationFlags | get_flags () const |
| unsigned int | getNumberOfInputSockets () const |
| unsigned int | getNumberOfOutputSockets () const |
| NodeOperationOutput * | getOutputSocket (unsigned int index=0) |
| NodeOperationInput * | getInputSocket (unsigned int index) |
| virtual bool | isOutputOperation (bool) const |
| isOutputOperation determines whether this operation is an output of the ExecutionSystem during rendering or editing. More... | |
| void | setbNodeTree (const bNodeTree *tree) |
| virtual void | executeRegion (rcti *, unsigned int) |
| when a chunk is executed by a CPUDevice, this method is called More... | |
| virtual void | executeOpenCLRegion (OpenCLDevice *, rcti *, unsigned int, MemoryBuffer **, MemoryBuffer *) |
| when a chunk is executed by an OpenCLDevice, this method is called More... | |
| virtual void | executeOpenCL (OpenCLDevice *, MemoryBuffer *, cl_mem, MemoryBuffer **, std::list< cl_mem > *, std::list< cl_kernel > *) |
| custom handle to add new tasks to the OpenCL command queue in order to execute a chunk on an GPUDevice. More... | |
| void | setResolution (unsigned int resolution[2]) |
| set the resolution More... | |
| virtual bool | isActiveViewerOutput () const |
| is this operation the active viewer output user can select an ViewerNode to be active (the result of this node will be drawn on the backdrop). More... | |
| void | setResolutionInputSocketIndex (unsigned int index) |
| set the index of the input socket that will determine the resolution of this operation More... | |
| virtual eCompositorPriority | getRenderPriority () const |
| get the render priority of this node. More... | |
| bool | isBraked () const |
| void | updateDraw () |
| unsigned int | getWidth () const |
| unsigned int | getHeight () const |
| void | readSampled (float result[4], float x, float y, PixelSampler sampler) |
| void | readFiltered (float result[4], float x, float y, float dx[2], float dy[2]) |
| void | read (float result[4], int x, int y, void *chunkData) |
| virtual void | deinitializeTileData (rcti *, void *) |
| virtual MemoryBuffer * | getInputMemoryBuffer (MemoryBuffer **) |
| virtual std::unique_ptr< MetaData > | getMetaData () |
Public Member Functions inherited from blender::compositor::QualityStepHelper | |
| QualityStepHelper () | |
| void | setQuality (eCompositorQuality quality) |
Definition at line 26 of file COM_GaussianAlphaXBlurOperation.h.
| blender::compositor::GaussianAlphaXBlurOperation::GaussianAlphaXBlurOperation | ( | ) |
Definition at line 27 of file COM_GaussianAlphaXBlurOperation.cc.
References Value.
|
overridevirtual |
Deinitialize the execution.
Reimplemented from blender::compositor::BlurBaseOperation.
Definition at line 145 of file COM_GaussianAlphaXBlurOperation.cc.
References blender::compositor::BlurBaseOperation::deinitExecution(), blender::compositor::NodeOperation::deinitMutex(), and MEM_freeN.
|
overridevirtual |
Reimplemented from blender::compositor::NodeOperation.
Definition at line 162 of file COM_GaussianAlphaXBlurOperation.cc.
References blender::compositor::NodeOperation::determineDependingAreaOfInterest(), blender::compositor::NodeOperation::getHeight(), blender::compositor::NodeOperation::getInputOperation(), blender::compositor::NodeOperation::getWidth(), blender::compositor::BlurBaseOperation::m_sizeavailable, output, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
|
overridevirtual |
The inner loop of this operation.
Reimplemented from blender::compositor::NodeOperation.
Definition at line 86 of file COM_GaussianAlphaXBlurOperation.cc.
References buffer, data, blender::compositor::finv_test(), blender::compositor::MemoryBuffer::get_rect(), blender::compositor::MemoryBuffer::getBuffer(), blender::compositor::QualityStepHelper::getStep(), blender::compositor::MemoryBuffer::getWidth(), max_ii(), min_ii(), output, x, rcti::xmax, rcti::xmin, y, and rcti::ymin.
|
overridevirtual |
initialize the execution
Reimplemented from blender::compositor::BlurBaseOperation.
Definition at line 45 of file COM_GaussianAlphaXBlurOperation.cc.
References ceil(), blender::compositor::NodeOperation::initMutex(), blender::compositor::BlurBaseOperation::m_data, blender::compositor::BlurBaseOperation::m_size, blender::compositor::BlurBaseOperation::m_sizeavailable, blender::compositor::BlurBaseOperation::make_dist_fac_inverse(), blender::compositor::BlurBaseOperation::make_gausstab(), max_ff(), MAX_GAUSSTAB_RADIUS, min_ii(), and NodeBlurData::sizex.
|
overridevirtual |
Reimplemented from blender::compositor::NodeOperation.
Definition at line 34 of file COM_GaussianAlphaXBlurOperation.cc.
References buffer, blender::compositor::NodeOperation::getInputOperation(), blender::compositor::NodeOperation::initializeTileData(), blender::compositor::NodeOperation::lockMutex(), blender::compositor::BlurBaseOperation::m_sizeavailable, and blender::compositor::NodeOperation::unlockMutex().
|
inline |
Definition at line 65 of file COM_GaussianAlphaXBlurOperation.h.
Referenced by blender::compositor::BlurNode::convertToOperations(), blender::compositor::DilateErodeNode::convertToOperations(), and blender::compositor::KeyingNode::setupFeather().
|
inline |
Set subtract for Dilate/Erode functionality
Definition at line 61 of file COM_GaussianAlphaXBlurOperation.h.
Referenced by blender::compositor::BlurNode::convertToOperations(), blender::compositor::DilateErodeNode::convertToOperations(), and blender::compositor::KeyingNode::setupFeather().