Blender
V3.3
|
#include <boundbox.h>
Public Member Functions | |
BoundBox2D () | |
bool | operator== (const BoundBox2D &other) const |
float | width () |
float | height () |
BoundBox2D | operator* (float f) const |
BoundBox2D | subset (const BoundBox2D &other) const |
BoundBox2D | make_relative_to (const BoundBox2D &other) const |
BoundBox2D | clamp (float mn=0.0f, float mx=1.0f) |
Public Attributes | |
float | left |
float | right |
float | bottom |
float | top |
Definition at line 191 of file boundbox.h.
|
inline |
Definition at line 198 of file boundbox.h.
|
inline |
Definition at line 254 of file boundbox.h.
References bottom, blender::math::clamp(), left, result, right, and top.
Referenced by blender_camera_border(), and BlenderSync::get_buffer_params().
Definition at line 213 of file boundbox.h.
|
inline |
Definition at line 242 of file boundbox.h.
References bottom, left, result, right, and top.
Referenced by blender_camera_border_subset(), and blender_camera_from_view().
|
inline |
|
inline |
|
inline |
Definition at line 230 of file boundbox.h.
References bottom, left, right, and top.
Referenced by blender_camera_border_subset().
Definition at line 208 of file boundbox.h.
float BoundBox2D::bottom |
Definition at line 195 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_sync(), blender_camera_viewplane(), clamp(), Camera::compute_auto_viewplane(), height(), make_relative_to(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), and transform_from_viewplane().
float BoundBox2D::left |
Definition at line 193 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_sync(), blender_camera_viewplane(), clamp(), Camera::compute_auto_viewplane(), make_relative_to(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), and width().
float BoundBox2D::right |
Definition at line 194 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_init(), blender_camera_sync(), blender_camera_viewplane(), clamp(), Camera::compute_auto_viewplane(), make_relative_to(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), and width().
float BoundBox2D::top |
Definition at line 196 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_init(), blender_camera_sync(), blender_camera_viewplane(), clamp(), Camera::compute_auto_viewplane(), height(), make_relative_to(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), and transform_from_viewplane().