Added body string to renderable to be able to search for target in scenegraph

This commit is contained in:
Anton Arbring
2015-04-21 20:31:33 -04:00
parent 641107a106
commit 97cbf977c5
4 changed files with 32 additions and 5 deletions

View File

@@ -69,8 +69,13 @@ public:
virtual void update(const UpdateData& data);
bool isVisible() const;
bool hasTimeInterval();
bool getInterval(double& start, double& end);
bool hasBody();
bool getBody(std::string& body);
void setBody(std::string& body);
protected:
std::string findPath(const std::string& path);
@@ -83,6 +88,8 @@ private:
std::string _relativePath;
std::string _startTime;
std::string _endTime;
std::string _targetBody;
bool _hasBody;
bool _hasTimeInterval;
};