28 #ifndef InstancePath_hpp 29 #define InstancePath_hpp 33 #include <SketchUpAPI/model/instancepath.h> 38 class ComponentInstance;
50 SUInstancePathRef m_instance_path;
52 static SUInstancePathRef create_instance_path();
59 static SUInstancePathRef copy_reference(
const InstancePath& other);
79 SUInstancePathRef ref()
const;
80 operator SUInstancePathRef()
const;
81 operator SUInstancePathRef*();
108 size_t depth()
const;
String persistent_id_at_depth(size_t depth) const
InstancePath & set_leaf(const Entity &entity)
Transformation total_transformation() const
bool contains(const Entity &entity) const
InstancePath & operator=(const InstancePath &other)
size_t full_depth() const
Transformation transformation_at_depth(size_t depth) const
InstancePath & push(const ComponentInstance &instance)
ComponentInstance instance_at_depth(size_t depth) const
String persistent_id() const
DrawingElement leaf() const
Entity leaf_entity() const