|
Blender
V2.93
|
#include <COM_OutputFileMultiViewOperation.h>
Inherits blender::compositor::OutputSingleLayerOperation.
Public Member Functions | |
| OutputStereoOperation (const RenderData *rd, const bNodeTree *tree, DataType datatype, struct ImageFormatData *format, const char *path, const char *name, 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 66 of file COM_OutputFileMultiViewOperation.h.
| blender::compositor::OutputStereoOperation::OutputStereoOperation | ( | const RenderData * | rd, |
| const bNodeTree * | tree, | ||
| DataType | datatype, | ||
| struct ImageFormatData * | format, | ||
| const char * | path, | ||
| const char * | name, | ||
| const ColorManagedViewSettings * | viewSettings, | ||
| const ColorManagedDisplaySettings * | displaySettings, | ||
| const char * | viewName, | ||
| const bool | saveAsRender | ||
| ) |
Definition at line 271 of file COM_OutputFileMultiViewOperation.cc.
References BLI_strncpy(), and blender::compositor::get_datatype_size().
|
overridevirtual |
Reimplemented from blender::compositor::NodeOperation.
Definition at line 315 of file COM_OutputFileMultiViewOperation.cc.
References BKE_image_path_from_imformat(), BKE_imbuf_write(), BKE_main_blendfile_path_from_global(), BKE_scene_multiview_is_render_view_last(), RenderData::cfra, ImBuf::channels, ImageFormatData::depth, ImBuf::dither, RenderData::dither_intensity, FILE_MAX, get_handle(), blender::compositor::NodeOperation::getHeight(), blender::compositor::NodeOperation::getWidth(), height, IB_rectfloat, IMB_allocImBuf(), IMB_colormanagement_imbuf_for_write(), IMB_exr_add_channel(), IMB_exr_channel_rect(), IMB_exr_close(), IMB_freeImBuf(), IMB_isfloat(), IMB_prepare_write_ImBuf(), IMB_stereo3d_ImBuf(), blender::compositor::OutputSingleLayerOperation::m_displaySettings, 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, blender::compositor::OutputSingleLayerOperation::m_viewSettings, ImBuf::mall, names, ImageFormatData::planes, R_EXTENSION, R_IMF_CHAN_DEPTH_16, ImBuf::rect_float, STEREO_LEFT_NAME, STEREO_RIGHT_NAME, and width.
| void * blender::compositor::OutputStereoOperation::get_handle | ( | const char * | filename | ) |
Definition at line 288 of file COM_OutputFileMultiViewOperation.cc.
References BKE_scene_multiview_is_render_view_first(), blender::compositor::NodeOperation::getHeight(), blender::compositor::NodeOperation::getWidth(), height, IMB_exr_add_view(), IMB_exr_clear_channels(), IMB_exr_get_handle_name(), blender::compositor::OutputSingleLayerOperation::m_rd, blender::compositor::OutputSingleLayerOperation::m_viewName, names, STEREO_LEFT_NAME, STEREO_RIGHT_NAME, and width.
Referenced by deinitExecution().