Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ViewerOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_VIEWEROPERATION_H__ | #pragma once | ||||
| #define __COM_VIEWEROPERATION_H__ | |||||
| #include "BKE_global.h" | #include "BKE_global.h" | ||||
| #include "BLI_rect.h" | #include "BLI_rect.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_image_types.h" | #include "DNA_image_types.h" | ||||
| class ViewerOperation : public NodeOperation { | class ViewerOperation : public NodeOperation { | ||||
| private: | private: | ||||
| float *m_outputBuffer; | float *m_outputBuffer; | ||||
| ▲ Show 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | public: | ||||
| { | { | ||||
| this->m_displaySettings = displaySettings; | this->m_displaySettings = displaySettings; | ||||
| } | } | ||||
| private: | private: | ||||
| void updateImage(rcti *rect); | void updateImage(rcti *rect); | ||||
| void initImage(); | void initImage(); | ||||
| }; | }; | ||||
| #endif | |||||