CC-Fractal-Suite
COP2_Buddhabrot.h
Go to the documentation of this file.
1 
5 #pragma once
6 
7  // Local
8 #include "Mandelbrot.h"
9 #include "FractalNode.h"
10 
11 // HDK
12 #include <COP2/COP2_MaskOp.h>
13 
14 // STL
15 #include <random>
16 
17 namespace CC
18 {
20 static const int REFERENCE_FRACTAL_ITERS{ 10 };
21 
27 struct COP2_BuddhabrotData : public COP2_ContextData
28 {
29  Mandelbrot fractal;
30  FractalSpace space;
31  UT_Lock myLock;
32  int seed;
33  fpreal samples;
34  bool normalize;
35  int maxval;
36  bool displayreffractal;
37 
38  COP2_BuddhabrotData() = default;
39  virtual ~COP2_BuddhabrotData() = default;
40 
41 };
42 
47 class COP2_Buddhabrot : public COP2_MaskOp
48 {
49 public:
50 
52  static OP_TemplatePair myTemplatePair;
53 
55  static OP_VariablePair myVariablePair;
56 
58  static PRM_Template myTemplateList[];
59 
64 
67 
74 
80 
91 
97 
109 
113 
119 
122 
127 
135 
145 
153 
Header-only include that generically declares a ton of static variables and Parm Template Macros for ...
Header declaring the Mandelbrot and Pickover fractal classes.
Mandelbrot Operator class.
Definition: COP2_Buddhabrot.h:47
static OP_TemplatePair myTemplatePair
Assign Template Pair of node to generator.
Definition: COP2_Buddhabrot.h:52
static OP_VariablePair myVariablePair
Assign empty variable pairing.
Definition: COP2_Buddhabrot.h:55
Small object storing both the Fractal and the Transformation space info.
Definition: COP2_Buddhabrot.h:27
Class implementing the Mandelbrot fractal.
Definition: Mandelbrot.h:26
Object that stores and manipulates the overall &#39;offset&#39; between the transformation space...
Definition: FractalSpace.h:56
Definition: COP2_Buddhabrot.h:17