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 );
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.
const QStringList SOURCE_OBJECTS("source")
Iterable object range.
bool getTargetCameras(std::vector< CameraNode *> &_cameras)
Get a pointer to every Camera which is marked as a target.
bool dataType(DataType _type) const
const QStringList TARGET_OBJECTS("target")
Iterable object range.
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.
DLLEXPORT ObjectIterator objectsEnd()
Return Iterator to Object End.
CameraNode * cameraNode()
Get the scenegraph Node.