#include <cullable.h>
Public Member Functions | |
virtual | ~VolumeTest () |
virtual bool | TestPoint (const Vector3 &point) const =0 |
Returns true if point intersects volume. | |
virtual bool | TestLine (const Segment &segment) const =0 |
Returns true if segment intersects volume. | |
virtual bool | TestPlane (const Plane3 &plane) const =0 |
Returns true if plane faces towards volume. | |
virtual bool | TestPlane (const Plane3 &plane, const Matrix4 &localToWorld) const =0 |
Returns true if plane transformed by localToWorld faces the viewer. | |
virtual VolumeIntersectionValue | TestAABB (const AABB &aabb) const =0 |
Returns the intersection of aabb and volume. | |
virtual VolumeIntersectionValue | TestAABB (const AABB &aabb, const Matrix4 &localToWorld) const =0 |
Returns the intersection of aabb transformed by localToWorld and volume. | |
virtual bool | fill () const =0 |
virtual const Matrix4 & | GetViewport () const =0 |
virtual const Matrix4 & | GetProjection () const =0 |
virtual const Matrix4 & | GetModelview () const =0 |
Definition at line 42 of file cullable.h.
virtual VolumeTest::~VolumeTest | ( | ) | [inline, virtual] |
Definition at line 45 of file cullable.h.
virtual bool VolumeTest::fill | ( | ) | const [pure virtual] |
Implemented in ui::MapPreviewView.
Referenced by BrushInstance::renderComponents(), and BrushInstance::testSelectComponents().
virtual const Matrix4& VolumeTest::GetModelview | ( | ) | const [pure virtual] |
Implemented in ui::MapPreviewView.
Referenced by RenderablePivot::render().
virtual const Matrix4& VolumeTest::GetProjection | ( | ) | const [pure virtual] |
Implemented in ui::MapPreviewView.
Referenced by RenderablePivot::render().
virtual const Matrix4& VolumeTest::GetViewport | ( | ) | const [pure virtual] |
Implemented in ui::MapPreviewView.
Referenced by RenderablePivot::render().
virtual VolumeIntersectionValue VolumeTest::TestAABB | ( | const AABB & | aabb, | |
const Matrix4 & | localToWorld | |||
) | const [pure virtual] |
Returns the intersection of aabb
transformed by localToWorld
and volume.
Implemented in ui::MapPreviewView.
virtual VolumeIntersectionValue VolumeTest::TestAABB | ( | const AABB & | aabb | ) | const [pure virtual] |
Returns the intersection of aabb
and volume.
Implemented in ui::MapPreviewView.
Referenced by Brush::intersectVolume().
virtual bool VolumeTest::TestLine | ( | const Segment & | segment | ) | const [pure virtual] |
Returns true if segment
intersects volume.
Implemented in ui::MapPreviewView.
Referenced by TargetLinesPushBack::operator()().
virtual bool VolumeTest::TestPlane | ( | const Plane3 & | plane, | |
const Matrix4 & | localToWorld | |||
) | const [pure virtual] |
Returns true if plane
transformed by localToWorld
faces the viewer.
Implemented in ui::MapPreviewView.
virtual bool VolumeTest::TestPlane | ( | const Plane3 & | plane | ) | const [pure virtual] |
Returns true if plane
faces towards volume.
Implemented in ui::MapPreviewView.
Referenced by Face::intersectVolume().
virtual bool VolumeTest::TestPoint | ( | const Vector3 & | point | ) | const [pure virtual] |
Returns true if point
intersects volume.
Implemented in ui::MapPreviewView.