CC-Fractal-Suite
|
Mandelbrot Operator class. More...
#include <COP2_Buddhabrot.h>
Public Member Functions | |
OP_ERROR | filterImage (COP2_Context &context, const TIL_Region *input, TIL_Region *output) |
Non-static cookFullImage callback, called by filter. More... | |
virtual void | getMaxNumThreadsInCook (COP2_Context &, int &maxp, int &maxn, int &op) const |
Specifies thread usage for this node. More... | |
virtual void | getInputDependenciesForOutputArea (COP2_CookAreaInfo &output_area, const COP2_CookAreaList &input_areas, COP2_CookAreaList &needed_areas) |
Used for fetching incoming COP2 image data. More... | |
std::vector< COMPLEX > | buddhabrotPoints (Mandelbrot *fractal, const COMPLEX &c, unsigned int nIterations) |
Calculates Set of Fractal Set Coords Based on fractalCoords Position. | |
Static Public Member Functions | |
static OP_ERROR | filter (COP2_Context &context, const TIL_Region *input, TIL_Region *output, COP2_Node *me) |
Static cookFullImage callback method. More... | |
Static Public Attributes | |
static OP_TemplatePair | myTemplatePair |
Assign Template Pair of node to generator. More... | |
static OP_VariablePair | myVariablePair |
Assign empty variable pairing. More... | |
static PRM_Template | myTemplateList [] |
Populated heavily from macros from FractalNode.h. More... | |
static const char * | myInputLabels [] |
Empty. More... | |
Protected Member Functions | |
virtual COP2_ContextData * | newContextData (const TIL_Plane *, int, fpreal32 t, int xres, int yres, int thread, int max_threads) |
Evaluate Parms and Stash Data for Cooking in a contextData object. More... | |
virtual OP_ERROR | doCookMyTile (COP2_Context &context, TIL_TileList *tiles) |
Generates the image. More... | |
virtual void | computeImageBounds (COP2_Context &context) |
Sets the image bounds. More... | |
virtual bool | updateParmsFlags () override |
Use to hide/unhide parameters. More... | |
Friends | |
class | OP |
Accessor used to construct this object in register.cpp. | |
Mandelbrot Operator class.
Inherits from COP2_Maskop, meaning it will the entire image at once as a 'full-image filter'. Unlike other nodes in the CCFS, this node is not a pure generator, and requires an input node. See 'COP Concepts' in the HDK documentation.
|
protectedvirtual |
Sets the image bounds.
While not virtual, removing this method results in a black frame.
|
protectedvirtual |
Generates the image.
This is a single-threaded call.
|
static |
Static cookFullImage callback method.
OP_ERROR CC::COP2_Buddhabrot::filterImage | ( | COP2_Context & | context, |
const TIL_Region * | input, | ||
TIL_Region * | output | ||
) |
Non-static cookFullImage callback, called by filter.
|
virtual |
Used for fetching incoming COP2 image data.
|
inlinevirtual |
Specifies thread usage for this node.
|
protectedvirtual |
Evaluate Parms and Stash Data for Cooking in a contextData object.
index | planename |
t | array index |
image_sizex | time |
image_sizey | xsize |
thread | ysize |
maxthreads | thread max_num_threads |
|
overrideprotectedvirtual |
Use to hide/unhide parameters.
|
static |
Empty.
/**Name the labels for the inputs.
|
static |
Populated heavily from macros from FractalNode.h.
|
static |
Assign Template Pair of node to generator.
|
static |
Assign empty variable pairing.