ui::MapPreviewView Class Reference

#include <MapPreviewView.h>

Inheritance diagram for ui::MapPreviewView:
Inheritance graph
[legend]
Collaboration diagram for ui::MapPreviewView:
Collaboration graph
[legend]

Public Member Functions

 MapPreviewView ()
bool TestPoint (const Vector3 &point) const
 Returns true if point intersects volume.
bool TestLine (const Segment &segment) const
 Returns true if segment intersects volume.
bool TestPlane (const Plane3 &plane) const
 Returns true if plane faces towards volume.
bool TestPlane (const Plane3 &plane, const Matrix4 &localToWorld) const
 Returns true if plane transformed by localToWorld faces the viewer.
VolumeIntersectionValue TestAABB (const AABB &aabb) const
 Returns the intersection of aabb and volume.
VolumeIntersectionValue TestAABB (const AABB &aabb, const Matrix4 &localToWorld) const
 Returns the intersection of aabb transformed by localToWorld and volume.
bool fill () const
const Matrix4 & GetViewport () const
const Matrix4 & GetProjection () const
const Matrix4 & GetModelview () const

Data Fields

Matrix4 modelView
Matrix4 projection
Matrix4 viewport

Detailed Description

greebo: This is more or less a stub class implementing the needed routines of the VolumeTest abstract base class.

Most routines just return TRUE or positive, so this class won't do any culling.

Definition at line 18 of file MapPreviewView.h.


Constructor & Destructor Documentation

ui::MapPreviewView::MapPreviewView (  )  [inline]

Definition at line 25 of file MapPreviewView.h.


Member Function Documentation

bool ui::MapPreviewView::fill (  )  const [inline, virtual]

Implements VolumeTest.

Definition at line 66 of file MapPreviewView.h.

const Matrix4& ui::MapPreviewView::GetModelview (  )  const [inline, virtual]

Implements VolumeTest.

Definition at line 81 of file MapPreviewView.h.

References modelView.

const Matrix4& ui::MapPreviewView::GetProjection (  )  const [inline, virtual]

Implements VolumeTest.

Definition at line 76 of file MapPreviewView.h.

References projection.

const Matrix4& ui::MapPreviewView::GetViewport (  )  const [inline, virtual]

Implements VolumeTest.

Definition at line 71 of file MapPreviewView.h.

References viewport.

VolumeIntersectionValue ui::MapPreviewView::TestAABB ( const AABB &  aabb,
const Matrix4 &  localToWorld 
) const [inline, virtual]

Returns the intersection of aabb transformed by localToWorld and volume.

Implements VolumeTest.

Definition at line 61 of file MapPreviewView.h.

References c_volumeInside().

VolumeIntersectionValue ui::MapPreviewView::TestAABB ( const AABB &  aabb  )  const [inline, virtual]

Returns the intersection of aabb and volume.

Implements VolumeTest.

Definition at line 55 of file MapPreviewView.h.

References c_volumeInside().

bool ui::MapPreviewView::TestLine ( const Segment &  segment  )  const [inline, virtual]

Returns true if segment intersects volume.

Implements VolumeTest.

Definition at line 37 of file MapPreviewView.h.

bool ui::MapPreviewView::TestPlane ( const Plane3 plane,
const Matrix4 &  localToWorld 
) const [inline, virtual]

Returns true if plane transformed by localToWorld faces the viewer.

Implements VolumeTest.

Definition at line 49 of file MapPreviewView.h.

bool ui::MapPreviewView::TestPlane ( const Plane3 plane  )  const [inline, virtual]

Returns true if plane faces towards volume.

Implements VolumeTest.

Definition at line 43 of file MapPreviewView.h.

bool ui::MapPreviewView::TestPoint ( const Vector3 point  )  const [inline, virtual]

Returns true if point intersects volume.

Implements VolumeTest.

Definition at line 31 of file MapPreviewView.h.


Field Documentation

Definition at line 21 of file MapPreviewView.h.

Referenced by GetModelview().

Definition at line 22 of file MapPreviewView.h.

Referenced by GetProjection().

Definition at line 23 of file MapPreviewView.h.

Referenced by GetViewport().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2