81 if( _cameras.back() == NULL)
82 std::cerr <<
"ERROR: Camera - get_source_cameras fatal error\n";
85 return ( !_cameras.empty() );
101 if( _cameras.back() == NULL)
102 std::cerr <<
"ERROR: Camera - getTargetPolylines fatal error\n";
105 return ( !_cameras.empty() );
125 return ( _object != 0 );
CameraObject * cameraObject(int _objectId)
Get a CameraObject from an object id if possible.
bool getObject(const int _identifier, BaseObject *&_object)
Get the object which has the given identifier.
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
CameraNode * cameraNode()
Get the scenegraph Node.
bool dataType(DataType _type) const
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
const QStringList TARGET_OBJECTS("target")
Iterable object range.
CameraNode * cameraNode(BaseObjectData *_object)
Get a CameraNode from an object.
bool getSourceCameras(std::vector< CameraNode *> &_cameras)
Get a pointer to every Camera which is marked as a source.
bool getTargetCameras(std::vector< CameraNode *> &_cameras)
Get a pointer to every Camera which is marked as a target.