|
Blender V4.3
|
Functions | |
| uint | GetTimeStampCF () |
| uint | GetCanvasWidthCF () |
| uint | GetCanvasHeightCF () |
| BBox< Vec2i > | GetBorderCF () |
| void | LoadMapCF (const char *iFileName, const char *iMapName, uint iNbLevels, float iSigma) |
| float | ReadMapPixelCF (const char *iMapName, int level, uint x, uint y) |
| float | ReadCompleteViewMapPixelCF (int level, uint x, uint y) |
| float | ReadDirectionalViewMapPixelCF (int iOrientation, int level, uint x, uint y) |
| FEdge * | GetSelectedFEdgeCF () |
namespace containing all the Context related functions
Returns the border
Definition at line 36 of file ContextFunctions.cpp.
References Freestyle::Canvas::border(), and Freestyle::Canvas::getInstance().
Referenced by ContextFunctions_get_border().
| uint Freestyle::ContextFunctions::GetCanvasHeightCF | ( | ) |
Returns the canvas height
Definition at line 31 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), and Freestyle::Canvas::height().
Referenced by ContextFunctions_get_canvas_height().
| uint Freestyle::ContextFunctions::GetCanvasWidthCF | ( | ) |
Returns the canvas width
Definition at line 26 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), and Freestyle::Canvas::width().
Referenced by ContextFunctions_get_canvas_width().
| FEdge * Freestyle::ContextFunctions::GetSelectedFEdgeCF | ( | ) |
Definition at line 64 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), and Freestyle::Canvas::selectedFEdge().
Referenced by ContextFunctions_get_selected_fedge().
| uint Freestyle::ContextFunctions::GetTimeStampCF | ( | ) |
Returns the system time stamp
Definition at line 21 of file ContextFunctions.cpp.
References Freestyle::TimeStamp::getTimeStamp(), and Freestyle::TimeStamp::instance().
Referenced by ContextFunctions_get_time_stamp().
| void Freestyle::ContextFunctions::LoadMapCF | ( | const char * | iFileName, |
| const char * | iMapName, | ||
| uint | iNbLevels = 4, | ||
| float | iSigma = 1.0f ) |
Loads an image map for further reading
Definition at line 41 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), and Freestyle::Canvas::loadMap().
Referenced by ContextFunctions_load_map().
Reads a pixel in the complete view map
| level | The level of the pyramid in which we wish to read the pixel |
| x | The x-coordinate of the pixel we wish to read. The origin is in the lower-left corner. |
| y | The y-coordinate of the pixel we wish to read. The origin is in the lower-left corner. |
Definition at line 52 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), Freestyle::Canvas::getSteerableViewMap(), and Freestyle::SteerableViewMap::readCompleteViewMapPixel().
Referenced by ContextFunctions_read_complete_view_map_pixel().
| float Freestyle::ContextFunctions::ReadDirectionalViewMapPixelCF | ( | int | iOrientation, |
| int | level, | ||
| uint | x, | ||
| uint | y ) |
Reads a pixel in one of the oriented view map images
| iOrientation | The number telling which orientation we want to check |
| level | The level of the pyramid in which we wish to read the pixel |
| x | The x-coordinate of the pixel we wish to read. The origin is in the lower-left corner. |
| y | The y-coordinate of the pixel we wish to read. The origin is in the lower-left corner. |
Definition at line 58 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), Freestyle::Canvas::getSteerableViewMap(), and Freestyle::SteerableViewMap::readSteerableViewMapPixel().
Referenced by ContextFunctions_read_directional_view_map_pixel().
| float Freestyle::ContextFunctions::ReadMapPixelCF | ( | const char * | iMapName, |
| int | level, | ||
| uint | x, | ||
| uint | y ) |
Reads a pixel in a user-defined map
| iMapName | The name of the map |
| level | The level of the pyramid in which we wish to read the pixel |
| x | The x-coordinate of the pixel we wish to read. The origin is in the lower-left corner. |
| y | The y-coordinate of the pixel we wish to read. The origin is in the lower-left corner. |
Definition at line 46 of file ContextFunctions.cpp.
References Freestyle::Canvas::getInstance(), and Freestyle::Canvas::readMapPixel().
Referenced by ContextFunctions_read_map_pixel().