#include <object3d.hh>
Inheritance diagram for A3DL::Object3D:
|
|
|
|
|
Get material vobject.
|
|
|
|
Get the orientation of this 3D object in axis-angle rotation. See setOrientation() for details.
|
|
Convenience function to get the orientation of this 3D object as a quaternion, converting from A3DL's axis-angle representation.
|
|
Convenience function to get the hard transform (HT) orientation of this 3D object as a quaternion, converting from A3DL's axis-angle representation. This transform is applied against the object before the normal orientation transform is applied and is not affected by hierarchical transforms.
|
|
Get the hard transform (HT) orientation of this 3D object in axis-angle rotation. See setOrientation() for details. This transform is applied against the object before the normal orientation transform is applied and is not affected by hierarchical transforms.
|
|
|
|
Get position of this 3D object.
|
|
Get the hard transform (HT) position of this 3D object. This transform is applied against the object before the normal position transform is applied and is not affected by hierarchical transforms.
|
|
Get position property object.
|
|
Reimplemented in A3DL::Snow. Definition at line 51 of file object3d.hh. |
|
Get scaling factors of this 3D object.
|
|
Get the hard transform (HT) scaling of this 3D object. This transform is applied against the object before the normal scaling transform is applied and is not affected by hierarchical transforms.
|
|
|
|
|
|
Reimplemented in A3DL::Billboard, A3DL::Cone, A3DL::Cube, A3DL::Cylinder, A3DL::Model, A3DL::PolygonMesh, A3DL::Snow, and A3DL::Sphere. |
|
Initialize this object to have no property access control, position (0,0,0), orientation (0,1,0,0) and scaling(1,1,1).
|
|
|
|
Reimplemented in A3DL::Billboard, A3DL::Cone, A3DL::Cube, A3DL::Cylinder, A3DL::Model, A3DL::PolygonMesh, A3DL::Snow, and A3DL::Sphere. |
|
Set material vobject.
|
|
Set the orientation of this 3D object in axis-angle rotation. The first three parameters are a unit vector in world space which define an axis, the fourth parameter is a clockwise rotation about that axis. For example, [0 1 0 20] would specify a rotation of 20 degrees around a vector pointing straight up.
|
|
Set the hard transform (HT) orientation of this 3D object in axis-angle rotation. This transform is applied against the object before the normal orientation transform is applied and is not affected by hierarchical transforms. The first three parameters are a unit vector in world space which define an axis, the fourth parameter is a clockwise rotation about that axis. For example, [0 1 0 20] would specify a rotation of 20 degrees around a vector pointing straight up.
|
|
|
|
Convenience function to set the orientation of this 3D object using a quaternion, which is then converted to A3DL's axis-angle notation.
|
|
Convenience function to set the hard transform (HT) orientation of this 3D object using a quaternion, which is then converted to A3DL's axis-angle notation. This transform is applied against the object before the normal orientation transform is applied and is not affected by hierarchical transforms.
|
|
Referenced by A3DL::Model::setModelObj(). |
|
Set position of this 3D object.
|
|
Set the hard transform (HT) position of this 3D object. This transform is applied against the object before the normal position transform is applied and is not affected by hierarchical transforms.
|
|
Set position property object.
|
|
Reimplemented in A3DL::Snow. Definition at line 50 of file object3d.hh. |
|
Set scaling factors of this 3D object.
|
|
Set the hard transform (HT) scaling this 3D object. This transform is applied against the object before the normal scaling transform is applied and is not affected by hierarchical transforms.
|
|
|
|
|
|