Public Member Functions | Private Attributes
objtree::GBBox Class Reference

#include <gbbox.h>

Inheritance diagram for objtree::GBBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GBBox (const Point &position, const Vector4f &orientation, const Point &scale, const Box &box)
virtual bool isSimilar (const Object *object) const
const Vector4forientation () const
const Pointposition () const
const Pointscale () const

Private Attributes

const Vector4f m_orientation
const Point m_position
const Point m_scale

Detailed Description

General bounding box class. Represent not axis aligned bounding box in octree.

Definition at line 41 of file gbbox.h.


Constructor & Destructor Documentation

objtree::GBBox::GBBox ( const Point position,
const Vector4f orientation,
const Point scale,
const Box box 
)

A constructor.

Parameters:
boxbounding box position and size

Definition at line 38 of file gbbox.cpp.


Member Function Documentation

bool objtree::GBBox::isSimilar ( const Object object) const [virtual]

Compare other object for similarity.

Parameters:
objectobject to compare
Returns:
true if object is similar, false otherwise

Reimplemented from objtree::BBox.

Definition at line 52 of file gbbox.cpp.

const Vector4f& objtree::GBBox::orientation ( ) const [inline]

Definition at line 54 of file gbbox.h.

const Point& objtree::GBBox::position ( ) const [inline]

Definition at line 53 of file gbbox.h.

const Point& objtree::GBBox::scale ( ) const [inline]

Definition at line 55 of file gbbox.h.


Member Data Documentation

Definition at line 45 of file gbbox.h.

Definition at line 44 of file gbbox.h.

const Point objtree::GBBox::m_scale [private]

Definition at line 46 of file gbbox.h.


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


srs_env_model
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Tomas Lokaj, Jan Gorig, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Sun Jan 5 2014 11:50:50