Blender V4.3
ContextFunctions.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
13#include "Canvas.h"
14
16#include "../image/Image.h"
17
18namespace Freestyle {
19
20//
21// Context Functions definitions
22//
24
25namespace ContextFunctions {
26
27// GetTimeStamp
30
31// GetCanvasWidth
34
35// GetCanvasHeight
38
39// GetBorder
41BBox<Vec2i> GetBorderCF();
42
43// Load map
45void LoadMapCF(const char *iFileName,
46 const char *iMapName,
47 uint iNbLevels = 4,
48 float iSigma = 1.0f);
49
50// ReadMapPixel
62float ReadMapPixelCF(const char *iMapName, int level, uint x, uint y);
63
64// ReadCompleteViewMapPixel
74float ReadCompleteViewMapPixelCF(int level, uint x, uint y);
75
76// ReadOrientedViewMapPixel
88float ReadDirectionalViewMapPixelCF(int iOrientation, int level, uint x, uint y);
89
90// DEBUG
91FEdge *GetSelectedFEdgeCF();
92
93} // end of namespace ContextFunctions
94
95} /* namespace Freestyle */
unsigned int uint
Class to define a canvas designed to draw style modules.
Class to perform gaussian filtering operations on an image.
Class to encapsulate an array of RGB or Gray level values.
void LoadMapCF(const char *iFileName, const char *iMapName, uint iNbLevels, float iSigma)
float ReadDirectionalViewMapPixelCF(int iOrientation, int level, uint x, uint y)
float ReadCompleteViewMapPixelCF(int level, uint x, uint y)
float ReadMapPixelCF(const char *iMapName, int level, uint x, uint y)
inherits from class Rep
Definition AppCanvas.cpp:20