#include <ViewFrustum.hpp>
|
SIV3D_NODISCARD_CXX20 | ViewFrustum ()=default |
|
SIV3D_NODISCARD_CXX20 | ViewFrustum (const BasicCamera3D &camera, double farClip) noexcept |
|
SIV3D_NODISCARD_CXX20 | ViewFrustum (const BasicCamera3D &camera, double nearClip, double farClip) noexcept |
|
SIV3D_NODISCARD_CXX20 | ViewFrustum (const Size &sceneSize, double verticalFOV, const Vec3 &eyePosition, const Vec3 &focusPosition, const Vec3 &upDirection, double nearClip, double farClip) noexcept |
|
std::array< Vec3, 8 > | getCorners () const noexcept |
|
bool | intersects (const Vec3 &point) const noexcept |
|
bool | intersects (const Triangle3D &triangle) const noexcept |
|
bool | intersects (const Sphere &sphere) const noexcept |
|
bool | intersects (const Box &box) const noexcept |
|
bool | intersects (const OrientedBox &box) const noexcept |
|
bool | intersects (const ViewFrustum &frustum) const noexcept |
|
Optional< float > | intersects (const Ray &ray) const noexcept |
|
bool | contains (const Vec3 &point) const noexcept |
|
bool | contains (const Triangle3D &triangle) const noexcept |
|
bool | contains (const Sphere &sphere) const noexcept |
|
bool | contains (const Box &box) const noexcept |
|
bool | contains (const OrientedBox &box) const noexcept |
|
bool | contains (const ViewFrustum &frustum) const noexcept |
|
Vec3 | getOrigin () const noexcept |
|
Quaternion | getOrientation () const noexcept |
|
Sphere | computeBoundingSphere () const noexcept |
|
const ViewFrustum & | drawFrame (const ColorF &color=Palette::White) const |
|
const DirectX::BoundingFrustum & | getData () const noexcept |
|
◆ ViewFrustum() [1/4]
SIV3D_NODISCARD_CXX20 s3d::ViewFrustum::ViewFrustum |
( |
| ) |
|
|
default |
◆ ViewFrustum() [2/4]
SIV3D_NODISCARD_CXX20 s3d::ViewFrustum::ViewFrustum |
( |
const BasicCamera3D & |
camera, |
|
|
double |
farClip |
|
) |
| |
|
noexcept |
◆ ViewFrustum() [3/4]
SIV3D_NODISCARD_CXX20 s3d::ViewFrustum::ViewFrustum |
( |
const BasicCamera3D & |
camera, |
|
|
double |
nearClip, |
|
|
double |
farClip |
|
) |
| |
|
noexcept |
◆ ViewFrustum() [4/4]
SIV3D_NODISCARD_CXX20 s3d::ViewFrustum::ViewFrustum |
( |
const Size & |
sceneSize, |
|
|
double |
verticalFOV, |
|
|
const Vec3 & |
eyePosition, |
|
|
const Vec3 & |
focusPosition, |
|
|
const Vec3 & |
upDirection, |
|
|
double |
nearClip, |
|
|
double |
farClip |
|
) |
| |
|
noexcept |
◆ computeBoundingSphere()
Sphere s3d::ViewFrustum::computeBoundingSphere |
( |
| ) |
const |
|
noexcept |
◆ contains() [1/6]
bool s3d::ViewFrustum::contains |
( |
const Box & |
box | ) |
const |
|
noexcept |
◆ contains() [2/6]
bool s3d::ViewFrustum::contains |
( |
const OrientedBox & |
box | ) |
const |
|
noexcept |
◆ contains() [3/6]
bool s3d::ViewFrustum::contains |
( |
const Sphere & |
sphere | ) |
const |
|
noexcept |
◆ contains() [4/6]
bool s3d::ViewFrustum::contains |
( |
const Triangle3D & |
triangle | ) |
const |
|
noexcept |
◆ contains() [5/6]
bool s3d::ViewFrustum::contains |
( |
const Vec3 & |
point | ) |
const |
|
noexcept |
◆ contains() [6/6]
bool s3d::ViewFrustum::contains |
( |
const ViewFrustum & |
frustum | ) |
const |
|
noexcept |
◆ drawFrame()
const ViewFrustum& s3d::ViewFrustum::drawFrame |
( |
const ColorF & |
color = Palette::White | ) |
const |
◆ getCorners()
std::array<Vec3, 8> s3d::ViewFrustum::getCorners |
( |
| ) |
const |
|
noexcept |
◆ getData()
const DirectX::BoundingFrustum& s3d::ViewFrustum::getData |
( |
| ) |
const |
|
noexcept |
◆ getOrientation()
Quaternion s3d::ViewFrustum::getOrientation |
( |
| ) |
const |
|
noexcept |
◆ getOrigin()
Vec3 s3d::ViewFrustum::getOrigin |
( |
| ) |
const |
|
noexcept |
◆ intersects() [1/7]
bool s3d::ViewFrustum::intersects |
( |
const Box & |
box | ) |
const |
|
noexcept |
◆ intersects() [2/7]
bool s3d::ViewFrustum::intersects |
( |
const OrientedBox & |
box | ) |
const |
|
noexcept |
◆ intersects() [3/7]
Optional<float> s3d::ViewFrustum::intersects |
( |
const Ray & |
ray | ) |
const |
|
noexcept |
◆ intersects() [4/7]
bool s3d::ViewFrustum::intersects |
( |
const Sphere & |
sphere | ) |
const |
|
noexcept |
◆ intersects() [5/7]
bool s3d::ViewFrustum::intersects |
( |
const Triangle3D & |
triangle | ) |
const |
|
noexcept |
◆ intersects() [6/7]
bool s3d::ViewFrustum::intersects |
( |
const Vec3 & |
point | ) |
const |
|
noexcept |
◆ intersects() [7/7]
bool s3d::ViewFrustum::intersects |
( |
const ViewFrustum & |
frustum | ) |
const |
|
noexcept |
The documentation for this class was generated from the following file: