17 #include <initializer_list> 20 #include <TIL/TIL_Tile.h> 21 #include <TIL/TIL_TileList.h> 22 #include <UT/UT_Matrix3.h> 23 #include <TIL/TIL_Tile.h> 60 UT_Matrix3D post_matrix;
75 void set_xform(UT_Matrix3D& xform);
std::complex< fpreal64 > COMPLEX
Double precision complex numbers, as defined by the HDK.
Definition: typedefs.h:25
UT_XformOrder::rstOrder RSTORDER
Short definition of Houdini's Transform Order enum used by matrices.
Definition: typedefs.h:29
COMPLEX get_maximum()
Returns in fractal coords at the top-right most pixel.
Definition: FractalSpace.cpp:208
WORLDPIXELCOORDS get_pixel_coords(COMPLEX fractal_coords)
get_pixel_coords is only configured to work with the Buddhabrot, and may not work with non-default tr...
Definition: FractalSpace.cpp:178
RSTORDER get_rst_order(const int val)
Get the Houdini rstOrder enum value from the interface.
Definition: FractalSpace.cpp:15
void calculate_tile_minmax(TIL_Tile *tile, WORLDPIXELCOORDS &min, WORLDPIXELCOORDS &max)
Calculates the minimum and maximum pixel coords for the Tile, and returns as pixel coords...
Definition: FractalSpace.cpp:26
COMPLEX get_minimum()
Returns in fractal coords at the bottom-left most pixel.
Definition: FractalSpace.cpp:202
WORLDPIXELCOORDS calculate_world_pixel(TIL_TileList *tiles, TIL_Tile *tile, int pixel_index)
Returns the 'world' pixel X, Y coordinates from a tile, which Houdini provides in coordinates relativ...
Definition: FractalSpace.cpp:46
WORLDPIXELCOORDS get_image_size()
Getter for the image size.
Definition: FractalSpace.cpp:222
Header that defines objects that stash cooked parameter data.
Object that stores and manipulates the overall 'offset' between the transformation space...
Definition: FractalSpace.h:56
COMPLEX get_fractal_coords(WORLDPIXELCOORDS pixel_coords)
Return the fractal coordinates, which use the size of the image as a relative size.
Definition: FractalSpace.cpp:161
FractalSpace()
Set Identity Matrix to matrix on construction.
Definition: FractalSpace.cpp:65
Header with shared typedefs and parameter name declarations.
Definition: COP2_Buddhabrot.h:17
virtual ~FractalSpace()
Destructor.
Definition: FractalSpace.cpp:228
void set_image_size(int x, int y)
A fractal space must be populated with a default image size to be used by the context correctly...
Definition: FractalSpace.cpp:215
std::pair< int, int > WORLDPIXELCOORDS
Integer pixel coordinate data type.
Definition: typedefs.h:27