Blender  V2.93
COM_PlaneCornerPinOperation.h
Go to the documentation of this file.
1 /* This program is free software; you can redistribute it and/or
2  * modify it under the terms of the GNU General Public License
3  * as published by the Free Software Foundation; either version 2
4  * of the License, or (at your option) any later version.
5  *
6  * This program is distributed in the hope that it will be useful,
7  * but WITHOUT ANY WARRANTY; without even the implied warranty of
8  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9  * GNU General Public License for more details.
10  *
11  * You should have received a copy of the GNU General Public License
12  * along with this program; if not, write to the Free Software Foundation,
13  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14  *
15  * Copyright 2014, Blender Foundation.
16  */
17 
18 #pragma once
19 
20 #include <string.h>
21 
23 
24 #include "DNA_movieclip_types.h"
25 #include "DNA_tracking_types.h"
26 
27 #include "BLI_listbase.h"
28 #include "BLI_string.h"
29 
30 namespace blender::compositor {
31 
33  private:
34  bool m_corners_ready;
35 
36  public:
38 
39  void initExecution() override;
40  void deinitExecution() override;
41 
42  void *initializeTileData(rcti *rect) override;
43 
44  void determineResolution(unsigned int resolution[2],
45  unsigned int preferredResolution[2]) override;
46 };
47 
49  private:
50  bool m_corners_ready;
51 
52  public:
54 
55  void initExecution() override;
56  void deinitExecution() override;
57 
58  void *initializeTileData(rcti *rect) override;
59 
61  ReadBufferOperation *readOperation,
62  rcti *output) override;
63 };
64 
65 } // namespace blender::compositor
#define output
void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]) override
determine the resolution of this node
bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output) override