Public Member Functions | |
virtual Point3 | position (Real s) const=0 |
get cartesian position at s:[0..1] | |
virtual Orient | orientation (Real s) const=0 |
get orientation at s:[0..1] | |
virtual Real | distinguishedValue (Int i) const |
virtual Int | numDistinguishedValues () const |
number of distinguished s values | |
virtual void | translate (const Vector3 &t)=0 |
translate the path position by t | |
virtual void | rotate (const Quat4 &r)=0 |
rotate the path orientation by r | |
virtual void | transform (const Matrix4 &m)=0 |
transform the path by m | |
virtual void | scalePosition (Real s)=0 |
scale position coords. by s | |
virtual bool | isSameKindAs (const ReferencedObject &) const |
virtual bool | isSameKindAs (const Object &) const |
virtual String | className () const=0 |
void | reference () const |
bool | unreference () const |
const int | referenceCount () const |
void | enableOnUnreferenceCall (bool enabled) |
virtual void | onUnreference () const |
virtual void | serialize (Serializer &s)=0 |
read or write object state to Serializer | |
virtual Object & | clone () const=0 |
Static Public Member Functions | |
template<class BaseClass, class DerivedClass> void | registerSerializableInstantiator (const SerializableInstantiator &instantiator) |
void | registerSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName, const SerializableInstantiator &instantiator) |
template<class BaseClass> const SerializableInstantiator & | getSerializableInstantiator (const String &derivedClassTypeName) |
const SerializableInstantiator & | getSerializableInstantiator (const String &baseClassTypeName, const String &derivedClassTypeName) |
Protected Attributes | |
int | _refCount |
bool | onUnreferenceEnabled |
Definition at line 46 of file PathRep.
|
|
return a shallow copy, with Object& return type. Must be defined by derived classes. Implemented in base::LineSegPathRep, base::LineSegTrajectoryRep, base::ParametricPathRep, base::ParametricTrajectoryRep, base::PathComponent, base::PathName, base::WaypointPathRep, base::WaypointTrajectoryRep, gfx::TriangleIteratorState, gfx::VisualTriangles::TriangleArrayIteratorState, physics::ODECollidableBody::BodyState, and robot::sim::SimulatedBasicEnvironment. |
|
some values of s may correspond to distinguished points along a path. the values s=0 and s=1 are always distinguished values. For example, if the path was specified using waypoints, then there will be a distinguished value of s for each waypoint. 0 <= i < numDistinguishedValues() Reimplemented in base::ParametricPathRep, and base::WaypointPathRep. Definition at line 60 of file PathRep. References base::Int, and base::Real. |
|
If enabled, each call to unreference() will also call virtual method onUnreference() Definition at line 115 of file Referenced. References base::Referenced::onUnreferenceEnabled. |
|
|
|
Definition at line 71 of file Serializable. References base::String. |
|
|
|
Definition at line 52 of file ReferencedObject. |
|
number of distinguished s values
Reimplemented in base::ParametricPathRep, and base::WaypointPathRep. Definition at line 64 of file PathRep. References base::Int. |
|
Called by unreference() if enabled via enableOnUnreferenceCall(true). Typically overridden in subclasses that wish to know about unreference() calls - for example to handle manually breaking cyclic references Reimplemented in robot::control::ControllableAdaptor::AdaptorControlInterface, and robot::control::ControllableAdaptor. Definition at line 121 of file Referenced. Referenced by base::Referenced::unreference(). |
|
get orientation at s:[0..1]
Implemented in base::LineSegPathRep, base::ParametricPathRep, and base::WaypointPathRep. |
|
get cartesian position at s:[0..1]
Implemented in base::LineSegPathRep, base::ParametricPathRep, and base::WaypointPathRep. |
|
Increment the reference count by one, indicating that this object has another pointer which is referencing it. Definition at line 65 of file Referenced. References base::Referenced::_refCount. |
|
Return the number pointers currently referencing this object. Definition at line 112 of file Referenced. References base::Referenced::_refCount. Referenced by robot::control::ControllableAdaptor::AdaptorControlInterface::onUnreference(). |
|
|
|
Definition at line 62 of file Serializable. |
|
rotate the path orientation by r
Implemented in base::LineSegPathRep, base::ParametricPathRep, and base::WaypointPathRep. |
|
scale position coords. by s
Implemented in base::LineSegPathRep, base::ParametricPathRep, and base::WaypointPathRep. |
|
|
transform the path by m
Implemented in base::LineSegPathRep, base::ParametricPathRep, and base::WaypointPathRep. |
|
translate the path position by t
Implemented in base::LineSegPathRep, base::ParametricPathRep, and base::WaypointPathRep. |
|
Decrement the reference count by one, indicating that a pointer to this object is referencing it. If the refence count goes to zero, it is assumed that this object is nolonger referenced and is automatically deleted. Definition at line 81 of file Referenced. References base::Referenced::_refCount, Exception, base::Referenced::onUnreference(), and base::Referenced::onUnreferenceEnabled. |
|
Definition at line 136 of file Referenced. Referenced by base::Referenced::reference(), base::Referenced::referenceCount(), base::Referenced::Referenced(), base::Referenced::unreference(), and base::Referenced::~Referenced(). |
|
Definition at line 137 of file Referenced. Referenced by base::Referenced::enableOnUnreferenceCall(), base::Referenced::Referenced(), and base::Referenced::unreference(). |