|
Blender V5.3
|
#include <boundbox.h>
Public Types | |
| enum | full_t { full = 0 } |
Public Member Functions | |
| BoundBox2D ()=default | |
| BoundBox2D (const float2 radius) | |
| BoundBox2D (full_t) | |
| bool | operator== (const BoundBox2D &other) const |
| float | width () const |
| float | height () const |
| bool | is_empty () const |
| 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 |
| float | right |
| float | bottom |
| float | top |
Definition at line 196 of file boundbox.h.
| enum BoundBox2D::full_t |
| Enumerator | |
|---|---|
| full | |
Definition at line 207 of file boundbox.h.
|
default |
Referenced by blender_camera_viewplane(), clamp(), Camera::compute_auto_viewplane(), make_relative_to(), offset(), operator*(), operator==(), and subset().
|
inline |
|
inline |
|
inline |
Definition at line 268 of file boundbox.h.
References bottom, BoundBox2D(), left, right, and top.
Referenced by blender_camera_border(), and BlenderSync::get_buffer_params().
|
inline |
Definition at line 222 of file boundbox.h.
Referenced by is_empty(), and Camera::update().
|
inline |
Definition at line 227 of file boundbox.h.
References height(), and width().
Referenced by Camera::update().
|
inline |
Definition at line 256 of file boundbox.h.
References bottom, BoundBox2D(), left, right, and top.
Referenced by blender_camera_from_view().
|
inline |
Definition at line 280 of file boundbox.h.
References bottom, BoundBox2D(), left, offset(), right, top, float2::x, and float2::y.
Referenced by blender_camera_viewplane(), offset(), and Camera::update().
|
inline |
Definition at line 232 of file boundbox.h.
References bottom, BoundBox2D(), left, right, and top.
|
inline |
Definition at line 211 of file boundbox.h.
References bottom, BoundBox2D(), left, right, and top.
|
inline |
Definition at line 244 of file boundbox.h.
References bottom, BoundBox2D(), left, right, subset(), and top.
Referenced by subset().
|
inline |
Definition at line 217 of file boundbox.h.
Referenced by is_empty(), and Camera::update().
| float BoundBox2D::bottom |
Definition at line 198 of file boundbox.h.
Referenced by blender_camera_sync(), BoundBox2D(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), height(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), Camera::update(), and Camera::update_interactive_motion().
| float BoundBox2D::left |
Definition at line 198 of file boundbox.h.
Referenced by blender_camera_sync(), BoundBox2D(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), Camera::update(), Camera::update_interactive_motion(), and width().
| float BoundBox2D::right |
Definition at line 198 of file boundbox.h.
Referenced by blender_camera_sync(), BoundBox2D(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), Camera::update_interactive_motion(), and width().
| float BoundBox2D::top |
Definition at line 198 of file boundbox.h.
Referenced by blender_camera_sync(), BoundBox2D(), BoundBox2D(), clamp(), BlenderSync::get_buffer_params(), height(), make_relative_to(), offset(), operator*(), operator==(), subset(), BlenderSync::sync_camera(), transform_from_viewplane(), and Camera::update_interactive_motion().