CC-Fractal-Suite
COP2_Lyapunov.h
Go to the documentation of this file.
1 
5 #pragma once
6 
7  // Local
8 #include "Lyapunov.h"
9 #include "FractalSpace.h"
10 
11 // HDK
12 #include <COP2/COP2_Generator.h>
13 
14 namespace CC
15 {
18 class COP2_Lyapunov : public COP2_Generator
19 {
21  COP2_Lyapunov(OP_Network* parent, const char* name, OP_Operator* entry);
22 
23 public:
24 
26  static PRM_Template myTemplateList[];
27 
29  static OP_TemplatePair myTemplatePair;
30 
32  static OP_VariablePair myVariablePair;
33 
35  static CH_LocalVariable myVariableList[];
36 
38  virtual TIL_Sequence* cookSequenceInfo(OP_ERROR& error);
39 
41  friend class OP;
42 
43 protected:
45  virtual COP2_ContextData* newContextData(const TIL_Plane*, int,
46  fpreal32 t, int xres, int yres, int thread, int max_threads);
47 
49  OP_ERROR generateTile(COP2_Context& context, TIL_TileList* tileList);
50 };
51 
56 struct COP2_LyapunovData : public COP2_ContextData
57 {
58  FractalSpace space;
61  COP2_LyapunovData() = default;
62  virtual ~COP2_LyapunovData();
63 };
64 }
OP is meant to remove the need to write public &#39;myConstructor&#39; methods in every class like the exampl...
Definition: FractalNode.h:359
Small object storing both the Fractal and the Transformation space info.
Definition: COP2_Lyapunov.h:56
OP_ERROR generateTile(COP2_Context &context, TIL_TileList *tileList)
Generates the image.
Definition: COP2_Lyapunov.cpp:83
Header that manages the transformations of fractals, and convertion from picture-plane (WORLDPIXEL) s...
static OP_VariablePair myVariablePair
Assign empty variable pairing.
Definition: COP2_Lyapunov.h:32
virtual TIL_Sequence * cookSequenceInfo(OP_ERROR &error)
Determine Frame Range, Image Composition, and other Sequence Info.
Definition: COP2_Lyapunov.cpp:18
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.
Definition: COP2_Lyapunov.cpp:30
Object that stores and manipulates the overall &#39;offset&#39; between the transformation space...
Definition: FractalSpace.h:56
Lyapunov Operator class.
Definition: COP2_Lyapunov.h:18
static OP_TemplatePair myTemplatePair
Assign Template Pair of node to generator.
Definition: COP2_Lyapunov.h:29
Definition: COP2_Buddhabrot.h:17
Header declaring the Lyapunov fractal class.
Lyapunov Fractal Class.
Definition: Lyapunov.h:19
static PRM_Template myTemplateList[]
Populated heavily from macros from FractalNode.h.
Definition: COP2_Lyapunov.h:26
Lyapunov fractal
The transformation space of the Lyapunov.
Definition: COP2_Lyapunov.h:59
static CH_LocalVariable myVariableList[]
Empty.
Definition: COP2_Lyapunov.h:35