10 #ifndef _ICOMPOSITECONTAINER_H_
11 #define _ICOMPOSITECONTAINER_H_
18 namespace artec {
namespace sdk {
namespace base
23 class ICompositeContainer;
106 virtual int getSize()
const = 0;
109 virtual void clear() = 0;
116 #endif // _ICOMPOSITECONTAINER_H_
virtual ErrorCode setAttributes(int index, IBlob *attributes)=0
Access composite mesh attributes by index.
virtual int getSize() const =0
Get element number in container.
ErrorCode ABASESDK_LINK_SPEC cloneCompositeContainer(ICompositeContainer *out, const ICompositeContainer *in)
Clone all CompositeContainer content.
virtual IBlob * getContainerAttributes() const =0
Access container attributes.
virtual const Matrix4x4D & getTransformation(int index) const =0
Access composite mesh orientation by index.
virtual void setContainerAttributes(IBlob *attributes)=0
Access container attributes.
virtual ErrorCode add(ICompositeMesh *mesh)=0
Add/remove composite to container.
ErrorCode ABASESDK_LINK_SPEC createCompositeContainer(ICompositeContainer **pContainer)
Create new CompositeContainer.
virtual ICompositeMesh * getElement(int index) const =0
Access container element (composite mesh) by index.
virtual void clear()=0
Delete all container elements.
virtual const Matrix4x4D & getContainerTransformation() const =0
Access container transformation.
virtual void setContainerTransformation(const Matrix4x4D &transformMatrix)=0
Access container transformation.
Interface for Binary Large Object (memory chunk) with smart reference counting.
virtual IBlob * getAttributes(int index) const =0
Access composite mesh attributes by index.
Indexed triangle mesh with optional unwrapped textures.
virtual ErrorCode setTransformation(int index, const Matrix4x4D &transformMatrix)=0
Access composite mesh orientation by index.
Collection of composite meshes with attributes.
#define ABASESDK_LINK_SPEC
virtual ErrorCode setElement(int index, ICompositeMesh *mesh)=0
Access container element (composite mesh) by index.
Interface that implements reference counting and life-time management.