HWindowInfoOOC

class HWindowInfoOOC

This class represents either a rectangular or triangular window-space area to filter OOC points with.

Enumerations

Methods

HWindowInfoOOC::HWindowInfoOOC()

Constructs an invalid HWindowInfoOOC object.

bool HWindowInfoOOC::RejectBounding(ooc::Point const (&world_bounds)[8]) const

const

Determines if a bounding box is rejected based on intersection with the area this object represents.

Parameters

world_bounds: The corners of the bounding box to test against.

Returns

Returns true if the area this object represents does not intersect with world_bounds.
bool HWindowInfoOOC::AcceptPoint(ooc::Point const &world_point) const

const

Determines if a point is rejected based on intersection with the area this object represents.

Parameters

world_point: The point to test against.

Returns

Returns true if the area this object represents does not contain world_point.
static HWindowInfoOOC HWindowInfoOOC::Rectangle(HBaseView &view, ooc::Point const &window_min, ooc::Point const &window_max)

static

Constructs a rectangular window-space area.

Parameters

view: A reference to an HBaseView object.

window_min: The minimum corner of the rectangle to use.

window_max: The maximum corner of the rectangle to use.

Returns

Returns an HWindowInfoOOC object represeting the given rectangle.
static HWindowInfoOOC HWindowInfoOOC::Triangle(HBaseView &view, ooc::Point const &p1, ooc::Point const &p2, ooc::Point const &p3)

static

Constructs a triangular window-space area.

Parameters

view: A reference to an HBaseView object.

p1: The first point of the triangle to use.

p2: The second point of the triangle to use.

p3: The third point of the triangle to use.

Returns

Returns an HWindowInfoOOC object representing the given triangle.
HWindowInfoOOC::HWindowInfoOOC(HBaseView &view, Type type)

private

bool HWindowInfoOOC::RectangleAcceptPoint(ooc::Point const &world_point) const

private const

bool HWindowInfoOOC::TriangleAcceptPoint(ooc::Point const &world_point) const

private const

Variables

Type HWindowInfoOOC::type

private

Type
float HWindowInfoOOC::world_to_window[16]

private

float
ooc::Point HWindowInfoOOC::window_min

private

ooc::Point
ooc::Point HWindowInfoOOC::window_max

private

ooc::Point
struct HWindowInfoOOC::[anonymous] HWindowInfoOOC::barycentric_info

private

struct HWindowInfoOOC::@3
ooc::Point HWindowInfoOOC::p3
ooc::Point
float HWindowInfoOOC::inverse_denom
float
float HWindowInfoOOC::alpha_1
float
float HWindowInfoOOC::alpha_2
float
float HWindowInfoOOC::beta_1
float
float HWindowInfoOOC::beta_2
float