XPlor/libs/xassets/xpathnodetree.h

37 lines
581 B
C
Raw Normal View History

2025-08-17 13:14:17 -04:00
#ifndef XPATHNODETREE_H
#define XPATHNODETREE_H
#include "xasset.h"
#include "xpathnodetreeinfo.h"
class XPathNodeTree : public XAsset
{
public:
explicit XPathNodeTree();
2025-09-05 18:35:17 -04:00
~XPathNodeTree();
2025-08-17 13:14:17 -04:00
void ParseData(QDataStream *aStream) override;
2025-09-05 18:35:17 -04:00
void Clear() override;
2025-08-17 13:14:17 -04:00
int GetAxis() const;
void SetAxis(int axis);
float GetDist() const;
void SetDist(float dist);
2025-09-05 18:35:17 -04:00
XPathNodeTreeInfo* GetInfo() const;
void SetInfo(XPathNodeTreeInfo* info);
2025-08-17 13:14:17 -04:00
private:
2025-09-05 18:35:17 -04:00
int mAxis;
float mDist;
XPathNodeTreeInfo* mInfo;
2025-08-17 13:14:17 -04:00
};
#endif // XPATHNODETREE_H