|
Blender V5.0
|
#include <boundbox.h>
Public Member Functions | |
| BoundBox2D ()=default | |
| BoundBox2D (const float2 radius) | |
| 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 (const float mn=0.0f, const float mx=1.0f) |
| BoundBox2D | offset (const float2 offset) const |
Public Attributes | |
| float | left = 0.0f |
| float | right = 1.0f |
| float | bottom = 0.0f |
| float | top = 1.0f |
Definition at line 196 of file boundbox.h.
|
default |
Referenced by clamp(), make_relative_to(), offset(), operator*(), operator==(), and subset().
|
inline |
|
inline |
Definition at line 262 of file boundbox.h.
References bottom, BoundBox2D(), left, result, right, and top.
Referenced by blender_camera_border(), and BlenderSync::get_buffer_params().
|
inline |
Definition at line 221 of file boundbox.h.
|
inline |
Definition at line 250 of file boundbox.h.
References bottom, BoundBox2D(), left, result, right, and top.
Referenced by blender_camera_border_subset(), and blender_camera_from_view().
|
inline |
Definition at line 274 of file boundbox.h.
References bottom, BoundBox2D(), left, offset(), result, right, and top.
Referenced by blender_camera_viewplane(), and offset().
|
inline |
Definition at line 226 of file boundbox.h.
References bottom, BoundBox2D(), left, result, right, and top.
|
inline |
Definition at line 210 of file boundbox.h.
References bottom, BoundBox2D(), left, right, and top.
|
inline |
Definition at line 238 of file boundbox.h.
References bottom, BoundBox2D(), left, right, subset(), and top.
Referenced by blender_camera_border_subset(), and subset().
|
inline |
Definition at line 216 of file boundbox.h.
| float BoundBox2D::bottom = 0.0f |
Definition at line 200 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_sync(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), height(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), and transform_from_viewplane().
| float BoundBox2D::left = 0.0f |
Definition at line 198 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_sync(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), and width().
| float BoundBox2D::right = 1.0f |
Definition at line 199 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_sync(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), and width().
| float BoundBox2D::top = 1.0f |
Definition at line 201 of file boundbox.h.
Referenced by blender_camera_border(), blender_camera_sync(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), height(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), and transform_from_viewplane().