DzOrientedBox3 Class Reference
[Basic Objects]

An oriented 3D box. More...

List of all members.

Properties

DzBox3 localBox
DzMatrix3 transform

Constructors

 DzOrientedBox3 (DzOrientedBox3 box)
 DzOrientedBox3 (DzBox3 box, DzVec3 translation, DzQuat rotation, DzVec3 scale)
 DzOrientedBox3 (DzVec3 translation, DzQuat rotation, DzVec3 scale)
 DzOrientedBox3 ()


Detailed Description

An oriented 3D box.

Represents a 3D box by storing two 3D vectors - an upper and lower corner for the box, and a transformation for its orientation.


Constructor & Destructor Documentation

DzOrientedBox3::DzOrientedBox3 (  ) 

Constructor. Creates an uninitialized box with an identity transform - the first point included in an uninitialized box will become the min and max for the box.

DzOrientedBox3::DzOrientedBox3 ( DzVec3  translation,
DzQuat  rotation,
DzVec3  scale 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an uninitialized box with the given transform - the first point included in an uninitialized box will become the min and max for the box.

DzOrientedBox3::DzOrientedBox3 ( DzBox3  box,
DzVec3  translation,
DzQuat  rotation,
DzVec3  scale 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Creates an oriented box that is the given box with the given transform.

DzOrientedBox3::DzOrientedBox3 ( DzOrientedBox3  box  ) 

Copy constructor.


Member Data Documentation

DzBox3 DzOrientedBox3::localBox

The box in 'local space' (without transforms applied)

void DzOrientedBox3::transform

The transform matrix of the box in 3D space


Generated on Thu Sep 24 12:21:14 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.