|
Blender
V2.93
|
#include <COM_OutputFileMultiViewOperation.h>
Inherits blender::compositor::OutputSingleLayerOperation.
Public Member Functions | |
| OutputOpenExrSingleLayerMultiViewOperation (const RenderData *rd, const bNodeTree *tree, DataType datatype, ImageFormatData *format, const char *path, const ColorManagedViewSettings *viewSettings, const ColorManagedDisplaySettings *displaySettings, const char *viewName, const bool saveAsRender) | |
| void * | get_handle (const char *filename) |
| void | deinitExecution () override |
Public Member Functions inherited from blender::compositor::OutputSingleLayerOperation | |
| OutputSingleLayerOperation (const RenderData *rd, const bNodeTree *tree, DataType datatype, ImageFormatData *format, const char *path, const ColorManagedViewSettings *viewSettings, const ColorManagedDisplaySettings *displaySettings, const char *viewName, const bool saveAsRender) | |
| void | executeRegion (rcti *rect, unsigned int tileNumber) override |
| when a chunk is executed by a CPUDevice, this method is called More... | |
| bool | isOutputOperation (bool) const override |
| isOutputOperation determines whether this operation is an output of the ExecutionSystem during rendering or editing. More... | |
| void | initExecution () override |
| void | deinitExecution () override |
| eCompositorPriority | getRenderPriority () const override |
| get the render priority of this node. More... | |
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 void | determineResolution (unsigned int resolution[2], unsigned int preferredResolution[2]) |
| determine the resolution of this node More... | |
| void | setbNodeTree (const bNodeTree *tree) |
| 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... | |
| virtual bool | determineDependingAreaOfInterest (rcti *input, ReadBufferOperation *readOperation, rcti *output) |
| void | setResolutionInputSocketIndex (unsigned int index) |
| set the index of the input socket that will determine the resolution of this operation 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 () |
Definition at line 33 of file COM_OutputFileMultiViewOperation.h.
| blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::OutputOpenExrSingleLayerMultiViewOperation | ( | const RenderData * | rd, |
| const bNodeTree * | tree, | ||
| DataType | datatype, | ||
| ImageFormatData * | format, | ||
| const char * | path, | ||
| const ColorManagedViewSettings * | viewSettings, | ||
| const ColorManagedDisplaySettings * | displaySettings, | ||
| const char * | viewName, | ||
| const bool | saveAsRender | ||
| ) |
Definition at line 44 of file COM_OutputFileMultiViewOperation.cc.
|
overridevirtual |
Reimplemented from blender::compositor::NodeOperation.
Definition at line 102 of file COM_OutputFileMultiViewOperation.cc.
References blender::compositor::add_exr_channels(), BKE_image_path_from_imtype(), BKE_main_blendfile_path_from_global(), BKE_scene_multiview_is_render_view_last(), RenderData::cfra, ImageFormatData::depth, FILE_MAX, blender::compositor::free_exr_channels(), get_handle(), blender::compositor::NodeOperation::getHeight(), blender::compositor::NodeOperation::getWidth(), height, IMB_exr_close(), IMB_exr_write_channels(), blender::compositor::OutputSingleLayerOperation::m_datatype, blender::compositor::OutputSingleLayerOperation::m_format, blender::compositor::OutputSingleLayerOperation::m_imageInput, blender::compositor::OutputSingleLayerOperation::m_outputBuffer, blender::compositor::OutputSingleLayerOperation::m_path, blender::compositor::OutputSingleLayerOperation::m_rd, blender::compositor::OutputSingleLayerOperation::m_viewName, R_EXTENSION, R_IMF_CHAN_DEPTH_16, R_IMF_IMTYPE_OPENEXR, and width.
| void * blender::compositor::OutputOpenExrSingleLayerMultiViewOperation::get_handle | ( | const char * | filename | ) |
Definition at line 59 of file COM_OutputFileMultiViewOperation.cc.
References blender::compositor::add_exr_channels(), BKE_scene_multiview_is_render_view_active(), BKE_scene_multiview_is_render_view_first(), BLI_make_existing_file(), ImageFormatData::exr_codec, ListBase::first, blender::compositor::NodeOperation::getHeight(), blender::compositor::NodeOperation::getWidth(), height, IMB_exr_add_view(), IMB_exr_begin_write(), IMB_exr_clear_channels(), IMB_exr_close(), IMB_exr_get_handle_name(), blender::compositor::OutputSingleLayerOperation::m_datatype, blender::compositor::OutputSingleLayerOperation::m_format, blender::compositor::OutputSingleLayerOperation::m_rd, blender::compositor::OutputSingleLayerOperation::m_viewName, SceneRenderView::name, SceneRenderView::next, RenderData::views, and width.
Referenced by deinitExecution().