|
Blender
V2.93
|
#include <COM_OutputFileMultiViewOperation.h>
Inherits blender::compositor::OutputOpenExrMultiLayerOperation.
Public Member Functions | |
| OutputOpenExrMultiLayerMultiViewOperation (const Scene *scene, const RenderData *rd, const bNodeTree *tree, const char *path, char exr_codec, bool exr_half_float, const char *viewName) | |
| void * | get_handle (const char *filename) |
| void | deinitExecution () override |
Public Member Functions inherited from blender::compositor::OutputOpenExrMultiLayerOperation | |
| OutputOpenExrMultiLayerOperation (const Scene *scene, const RenderData *rd, const bNodeTree *tree, const char *path, char exr_codec, bool exr_half_float, const char *viewName) | |
| void | add_layer (const char *name, DataType datatype, bool use_layer) |
| 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from blender::compositor::OutputOpenExrMultiLayerOperation | |
| StampData * | createStampData () const |
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 | executePixelSampled (float[4], float, float, PixelSampler) |
| calculate a single pixel 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 Attributes inherited from blender::compositor::OutputOpenExrMultiLayerOperation | |
| const Scene * | m_scene |
| const RenderData * | m_rd |
| const bNodeTree * | m_tree |
| char | m_path [FILE_MAX] |
| char | m_exr_codec |
| bool | m_exr_half_float |
| Vector< OutputOpenExrLayer > | m_layers |
| const char * | m_viewName |
Protected Attributes inherited from blender::compositor::NodeOperation | |
| unsigned int | m_width |
| unsigned int | m_height |
| NodeOperationFlags | flags |
Definition at line 51 of file COM_OutputFileMultiViewOperation.h.
| blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::OutputOpenExrMultiLayerMultiViewOperation | ( | const Scene * | scene, |
| const RenderData * | rd, | ||
| const bNodeTree * | tree, | ||
| const char * | path, | ||
| char | exr_codec, | ||
| bool | exr_half_float, | ||
| const char * | viewName | ||
| ) |
Definition at line 148 of file COM_OutputFileMultiViewOperation.cc.
|
overridevirtual |
Reimplemented from blender::compositor::NodeOperation.
Definition at line 218 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, 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::OutputOpenExrMultiLayerOperation::m_exr_half_float, blender::compositor::OutputOpenExrMultiLayerOperation::m_layers, blender::compositor::OutputOpenExrMultiLayerOperation::m_path, blender::compositor::OutputOpenExrMultiLayerOperation::m_rd, blender::compositor::OutputOpenExrMultiLayerOperation::m_viewName, R_EXTENSION, R_IMF_IMTYPE_MULTILAYER, and width.
| void * blender::compositor::OutputOpenExrMultiLayerMultiViewOperation::get_handle | ( | const char * | filename | ) |
Definition at line 160 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(), BKE_stamp_data_free(), BLI_make_existing_file(), blender::compositor::OutputOpenExrMultiLayerOperation::createStampData(), 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::OutputOpenExrMultiLayerOperation::m_exr_codec, blender::compositor::OutputOpenExrMultiLayerOperation::m_layers, blender::compositor::OutputOpenExrMultiLayerOperation::m_rd, blender::compositor::OutputOpenExrMultiLayerOperation::m_viewName, SceneRenderView::name, SceneRenderView::next, RenderData::views, and width.
Referenced by deinitExecution().