86 radiusOperation = blur;
93 if (
data->bktype < 3) {
105 #ifdef COM_DEFOCUS_SEARCH
106 InverseSearchRadiusOperation *search =
new InverseSearchRadiusOperation();
107 search->setMaxBlur(
data->maxblur);
126 #ifdef COM_DEFOCUS_SEARCH
struct NodeBokehImage NodeBokehImage
Object is a sort of wrapper for general info.
btMatrix3x3 inverse() const
Return the inverse of the matrix.
The BokehImageOperation class is an operation that creates an image useful to mimic the internals of ...
void deleteDataOnFinish()
deleteDataOnFinish
void setData(NodeBokehImage *data)
set the node data
Overall context of the compositor.
void setCameraObject(Object *camera)
void setPostBlur(FastGaussianBlurValueOperation *operation)
void setfStop(float fStop)
void setMaxRadius(float maxRadius)
DefocusNode(bNode *editorNode)
void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
void setOverlay(int overlay)
void mapInputSocket(NodeInput *node_socket, NodeOperationInput *operation_socket)
void addOperation(NodeOperation *operation)
void mapOutputSocket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void addLink(NodeOperationOutput *from, NodeOperationInput *to)
NodeOperation contains calculation logic.
NodeOperationInput * getInputSocket(unsigned int index)
NodeOperationOutput * getOutputSocket(unsigned int index=0)
NodeOutput * getOutputSocket(const unsigned int index=0) const
bNode * getbNode() const
get the reference to the SDNA bNode struct
NodeInput * getInputSocket(const unsigned int index) const
void setQuality(eCompositorQuality quality)
void setValue(float value)
void setThreshold(float threshold)
void setMaxBlur(int maxRadius)
@ Low
Low quality setting.
static void minimize(float rvalue[3], float mp[3], const float pts[12][3], const float norms[12][3], const int parity[12])