Differential D8466 Diff 27428 source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.h
Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.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_CONVERTDEPTHTORADIUSOPERATION_H__ | #pragma once | ||||
| #define __COM_CONVERTDEPTHTORADIUSOPERATION_H__ | |||||
| #include "COM_FastGaussianBlurOperation.h" | #include "COM_FastGaussianBlurOperation.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_object_types.h" | #include "DNA_object_types.h" | ||||
| /** | /** | ||||
| * this program converts an input color to an output value. | * this program converts an input color to an output value. | ||||
| * it assumes we are in sRGB color space. | * it assumes we are in sRGB color space. | ||||
| */ | */ | ||||
| class ConvertDepthToRadiusOperation : public NodeOperation { | class ConvertDepthToRadiusOperation : public NodeOperation { | ||||
| ▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | void setCameraObject(Object *camera) | ||||
| this->m_cameraObject = camera; | this->m_cameraObject = camera; | ||||
| } | } | ||||
| float determineFocalDistance(); | float determineFocalDistance(); | ||||
| void setPostBlur(FastGaussianBlurValueOperation *operation) | void setPostBlur(FastGaussianBlurValueOperation *operation) | ||||
| { | { | ||||
| this->m_blurPostOperation = operation; | this->m_blurPostOperation = operation; | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||