|
Blender
V2.93
|
#include <COM_PlaneTrackOperation.h>
Inherits blender::compositor::PlaneDistortWarpImageOperation, and blender::compositor::PlaneTrackCommon.
Public Member Functions | |
| PlaneTrackWarpImageOperation () | |
| void | initExecution () override |
| void | determineResolution (unsigned int resolution[2], unsigned int preferredResolution[2]) override |
| determine the resolution of this node More... | |
Public Member Functions inherited from blender::compositor::PlaneDistortWarpImageOperation | |
| PlaneDistortWarpImageOperation () | |
| void | calculateCorners (const float corners[4][2], bool normalized, int sample) |
| void | deinitExecution () override |
| void | executePixelSampled (float output[4], float x, float y, PixelSampler sampler) override |
| calculate a single pixel More... | |
| bool | determineDependingAreaOfInterest (rcti *input, ReadBufferOperation *readOperation, rcti *output) override |
| void | setMotionBlurSamples (int samples) |
| void | setMotionBlurShutter (float shutter) |
Public Member Functions inherited from blender::compositor::NodeOperation | |
| virtual | ~NodeOperation () |
| void | set_name (const std::string name) |
| const std::string | get_name () const |
| void | set_id (const int id) |
| const int | get_id () const |
| const NodeOperationFlags | get_flags () const |
| unsigned int | getNumberOfInputSockets () const |
| unsigned int | getNumberOfOutputSockets () const |
| NodeOperationOutput * | getOutputSocket (unsigned int index=0) |
| NodeOperationInput * | getInputSocket (unsigned int index) |
| virtual bool | isOutputOperation (bool) const |
| isOutputOperation determines whether this operation is an output of the ExecutionSystem during rendering or editing. More... | |
| void | setbNodeTree (const bNodeTree *tree) |
| virtual void | executeRegion (rcti *, unsigned int) |
| when a chunk is executed by a CPUDevice, this method is called More... | |
| virtual void | executeOpenCLRegion (OpenCLDevice *, rcti *, unsigned int, MemoryBuffer **, MemoryBuffer *) |
| when a chunk is executed by an OpenCLDevice, this method is called More... | |
| virtual void | executeOpenCL (OpenCLDevice *, MemoryBuffer *, cl_mem, MemoryBuffer **, std::list< cl_mem > *, std::list< cl_kernel > *) |
| custom handle to add new tasks to the OpenCL command queue in order to execute a chunk on an GPUDevice. More... | |
| void | setResolution (unsigned int resolution[2]) |
| set the resolution More... | |
| virtual bool | isActiveViewerOutput () const |
| is this operation the active viewer output user can select an ViewerNode to be active (the result of this node will be drawn on the backdrop). More... | |
| void | setResolutionInputSocketIndex (unsigned int index) |
| set the index of the input socket that will determine the resolution of this operation More... | |
| virtual eCompositorPriority | getRenderPriority () const |
| get the render priority of this node. More... | |
| bool | isBraked () const |
| void | updateDraw () |
| unsigned int | getWidth () const |
| unsigned int | getHeight () const |
| void | readSampled (float result[4], float x, float y, PixelSampler sampler) |
| void | readFiltered (float result[4], float x, float y, float dx[2], float dy[2]) |
| void | read (float result[4], int x, int y, void *chunkData) |
| virtual void * | initializeTileData (rcti *) |
| virtual void | deinitializeTileData (rcti *, void *) |
| virtual MemoryBuffer * | getInputMemoryBuffer (MemoryBuffer **) |
| virtual std::unique_ptr< MetaData > | getMetaData () |
Public Member Functions inherited from blender::compositor::PlaneTrackCommon | |
| PlaneTrackCommon () | |
| void | setMovieClip (MovieClip *clip) |
| void | setTrackingObject (char *object) |
| void | setPlaneTrackName (char *plane_track) |
| void | setFramenumber (int framenumber) |
Additional Inherited Members | |
Protected Member Functions inherited from blender::compositor::NodeOperation | |
| NodeOperation () | |
| void | addInputSocket (DataType datatype, ResizeMode resize_mode=ResizeMode::Center) |
| void | addOutputSocket (DataType datatype) |
| void | setWidth (unsigned int width) |
| void | setHeight (unsigned int height) |
| SocketReader * | getInputSocketReader (unsigned int inputSocketindex) |
| NodeOperation * | getInputOperation (unsigned int inputSocketindex) |
| void | deinitMutex () |
| void | initMutex () |
| void | lockMutex () |
| void | unlockMutex () |
| void | setComplex (bool complex) |
| set whether this operation is complex More... | |
| virtual void | executePixel (float output[4], int x, int y, void *) |
| calculate a single pixel More... | |
| virtual void | executePixelFiltered (float[4], float, float, float[2], float[2]) |
| calculate a single pixel using an EWA filter More... | |
Protected Member Functions inherited from blender::compositor::PlaneTrackCommon | |
| void | readCornersFromTrack (float corners[4][2], float frame) |
| void | determineResolution (unsigned int resolution[2], unsigned int preferredResolution[2]) |
Protected Attributes inherited from blender::compositor::PlaneDistortWarpImageOperation | |
| SocketReader * | m_pixelReader |
| MotionSample | m_samples [PLANE_DISTORT_MAX_SAMPLES] |
| int | m_motion_blur_samples |
| float | m_motion_blur_shutter |
Protected Attributes inherited from blender::compositor::NodeOperation | |
| unsigned int | m_width |
| unsigned int | m_height |
| NodeOperationFlags | flags |
Protected Attributes inherited from blender::compositor::PlaneTrackCommon | |
| MovieClip * | m_movieClip |
| int | m_framenumber |
| char | m_trackingObjectName [64] |
| char | m_planeTrackName [64] |
Definition at line 85 of file COM_PlaneTrackOperation.h.
|
inline |
Definition at line 88 of file COM_PlaneTrackOperation.h.
|
inlineoverridevirtual |
determine the resolution of this node
| resolution | the result of this operation |
| preferredResolution | the preferable resolution as no resolution could be determined |
Reimplemented from blender::compositor::NodeOperation.
Definition at line 94 of file COM_PlaneTrackOperation.h.
References blender::compositor::NodeOperation::determineResolution(), and blender::compositor::PlaneTrackCommon::determineResolution().
|
overridevirtual |
Reimplemented from blender::compositor::PlaneDistortWarpImageOperation.
Definition at line 106 of file COM_PlaneTrackOperation.cc.
References blender::compositor::PlaneDistortWarpImageOperation::calculateCorners(), float(), blender::compositor::PlaneDistortWarpImageOperation::initExecution(), blender::compositor::PlaneTrackCommon::m_framenumber, blender::compositor::PlaneDistortWarpImageOperation::m_motion_blur_samples, blender::compositor::PlaneDistortWarpImageOperation::m_motion_blur_shutter, blender::compositor::PlaneTrackCommon::readCornersFromTrack(), and blender::compositor::sample().