Interface to Alias space locators.
#include <AlSpaceLocator.h>
class AlSpaceLocator : public AlPointLocator
AlSpaceLocator();
~AlSpaceLocator();
virtual AlObject * copyWrapper() const;
virtual AlObjectType type() const;
statusCode create(double x = 0.0, double y = 0.0, double z = 0.0);
statusCode setWorldPosition(double x = 0.0, double y = 0.0, double z = 0.0);
virtual statusCode worldPosition(double &, double &, double &) const;
AlSpaceLocator is the interface to Alias Space Locators. A space locator can be created at any point in the world coordinate system. There are methods to query and modify the position of the locator in this class.
Constructs an AlSpaceLocator wrapper object.
Deletes an AlSpaceLocator wrapper object.
Returns an exact copy of the AlSpaceLocator wrapper.
Returns the class identifier kSpaceLocatorType.
< x, y, z - the world coordinates of the point at which the space locator is created
sSuccess - the space locator was successfully created
sFailure - failed to create the space locator
sAlreadyCreated - object has already been created
Moves a space locator to a new point in world coordinates.
< x, y, z - the new coordinates of the space locator
sSuccess - the locator was moved
sInvalidObject - the locator is not valid
Finds the world coordinates of a space locator.
> x, y, z - the X, Y, Z world coordinates of the space locator
sSuccess - the world coordinates were found
sInvalidObject - the locator is not valid