|
|
| Box () |
|
| Box (const Box &box) |
|
| Box (const Vector3 &point, const Vector3 &right_vector, const Vector3 &height_vector, float depth) |
|
| Box (const Vector3 &point, const Vector3 &right_vector=Vector3(0, 1, 0), const Vector3 &height_vector=Vector3(1, 0, 0), const Vector3 &depth_vector=Vector3(0, 0, 1)) |
|
|
virtual | ~Box () |
|
virtual void | clear () |
|
|
void | set (const Box &box) |
|
const Box & | operator= (const Box &box) |
|
|
virtual bool | isValid () const |
|
virtual void | dump (std::ostream &s=std::cout, Size depth=0) const |
|
virtual void | getVertices (vector< Vector3 > &vertices) const |
|
| GeometricObject () |
|
| GeometricObject (const GeometricObject &object) |
|
virtual | ~GeometricObject () |
|
void | set (const GeometricObject &object) |
|
GeometricObject & | operator= (const GeometricObject &object) |
|
void | swap (GeometricObject &object) |
|
void | setComposite (const Composite *composite) |
|
const Composite * | getComposite () const |
|
void | setColor (const ColorRGBA &color) |
|
void | setColor (const ColorUnit &red, const ColorUnit &green, const ColorUnit &blue, const ColorUnit &alpha=(float) 1) |
|
const ColorRGBA & | getColor () const |
|
ColorRGBA & | getColor () |
|
void | getColor (ColorUnit &red, ColorUnit &green, ColorUnit &blue, ColorUnit &alpha) const |
|
void | getColors (HashSet< String > &colors) |
| Insert the colors of this object into the hashset. More...
|
|
bool | operator== (const GeometricObject &object) const |
| Needed for MSVC. More...
|
|
bool | operator< (const GeometricObject &object) const |
| Needed for MSVC. More...
|
|
| TBox3 () |
|
| TBox3 (const TBox3 &box) |
|
| TBox3 (const TVector3< T > &point, const TVector3< T > &right_vector, const TVector3< T > &height_vector, const T &depth=1) |
|
| TBox3 (const TVector3< T > &point, const TVector3< T > &right_vector=TVector3< T >((T) 0,(T) 1,(T) 0), const TVector3< T > &height_vector=TVector3< T >((T) 1,(T) 0,(T) 0), const TVector3< T > &depth_vector=TVector3< T >((T) 0,(T) 0,(T) 1)) |
|
virtual | ~TBox3 () |
|
void | set (const TBox3 &box) |
|
const TBox3 & | operator= (const TBox3 &box) |
|
void | swap (TBox3 &box) |
|
void | setWidth (T width) |
| Set width. More...
|
|
T | getWidth () const |
| Get width. More...
|
|
void | setHeight (T height) |
| Set height. More...
|
|
T | getHeight () const |
| Get height. More...
|
|
void | setDepth (T depth) |
| Set depth. More...
|
|
T | getDepth () const |
| Get depth. More...
|
|
const TVector3< T > & | getPoint () const |
| Get the point. More...
|
|
void | setPoint (const TVector3< T > &point) |
| Set the point. More...
|
|
const TVector3< T > & | getRightVector () const |
| Get the right vector. More...
|
|
void | setRightVector (const TVector3< T > &v) |
| Set the right vector. More...
|
|
const TVector3< T > & | getHeightVector () const |
| Get the height vector. More...
|
|
void | setHeightVector (const TVector3< T > &v) |
| Set the height vector. More...
|
|
const TVector3< T > & | getDepthVector () const |
| Get the depth vector. More...
|
|
void | setDepthVector (const TVector3< T > &v) |
| Set the depth vector. More...
|
|
T | getSurface () const |
|
T | getVolume () const |
|
TVector3< T > | getDiagonalVector () const |
|
bool | operator== (const TBox3 &box) const |
|
bool | operator!= (const TBox3 &box) const |
|
bool | isValid () const |
|
void | dump (std::ostream &s=std::cout, Size depth=0) const |
|
Box class. An instance of this class represents an instance of the geometric representation of a threedimensional box. The class Box is derived from the classes GeometricObject and Box3. See these classes for further information concerning interface and additional methods.
Definition at line 30 of file box.h.