Blender V4.3
COM_MovieClipAttributeOperation.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8#include "COM_NodeOperation.h"
10
11namespace blender::compositor {
12
24 private:
25 MovieClip *clip_;
26 float value_;
27 int framenumber_;
28 bool invert_;
29 MovieClipAttribute attribute_;
30 bool is_value_calculated_;
31 NodeOperationInput *stabilization_resolution_socket_;
32
33 public:
38
39 void init_execution() override;
40
41 void determine_canvas(const rcti &preferred_area, rcti &r_area) override;
42
43 const float *get_constant_elem() override;
44
46 {
47 clip_ = clip;
48 }
49 void set_framenumber(int framenumber)
50 {
51 framenumber_ = framenumber;
52 }
54 {
55 attribute_ = attribute;
56 }
57 void set_invert(bool invert)
58 {
59 invert_ = invert;
60 }
61
66 {
67 stabilization_resolution_socket_ = input_socket;
68 }
69
70 private:
71 void calc_value();
72};
73
74} // namespace blender::compositor
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Gabor Generate Gabor noise Gradient Generate interpolated color and intensity values based on the input vector Magic Generate a psychedelic color texture Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a or normal between and object coordinate space Combine Create a color from its and value channels Color Retrieve a color attribute
void determine_canvas(const rcti &preferred_area, rcti &r_area) override
void set_socket_input_resolution_for_stabilization(NodeOperationInput *input_socket)
CCL_NAMESPACE_BEGIN ccl_device float invert(float color, float factor)
Definition invert.h:9