ICompositeContainer.h
Go to the documentation of this file.
44 ErrorCode ABASESDK_LINK_SPEC cloneCompositeContainer(ICompositeContainer* out, const ICompositeContainer* in);
50 * @details CompositeContainer is a collection (container) of composites with its own transformation and
52 * Each composite consists of composite mesh, transformation matrix and composite-mesh attributes.
70 virtual ErrorCode add(ICompositeMesh* mesh, const Matrix4x4D& transformMatrix, IBlob* meshAttributes = NULL) = 0;
75 /// @details Index must be in range [0, getSize()-1]. Replacing transformation matrix at index position
virtual ErrorCode setAttributes(int index, IBlob *attributes)=0
Access composite mesh attributes by index.
ErrorCode ABASESDK_LINK_SPEC cloneCompositeContainer(ICompositeContainer *out, const ICompositeContainer *in)
Definition: AlgorithmWorkset.h:17
Definition: Matrix.h:21
virtual void setContainerAttributes(IBlob *attributes)=0
Access container attributes.
virtual IBlob * getAttributes(int index) const =0
Access composite mesh attributes by index.
virtual ErrorCode add(ICompositeMesh *mesh)=0
Add/remove composite to container.
ErrorCode ABASESDK_LINK_SPEC createCompositeContainer(ICompositeContainer **pContainer)
virtual IBlob * getContainerAttributes() const =0
Access container attributes.
virtual void setContainerTransformation(const Matrix4x4D &transformMatrix)=0
Access container transformation.
Definition: IBlob.h:31
virtual int getSize() const =0
Get element number in container.
virtual const Matrix4x4D & getContainerTransformation() const =0
Access container transformation.
virtual ErrorCode setTransformation(int index, const Matrix4x4D &transformMatrix)=0
Access composite mesh orientation by index.
Collection of composite meshes with attributes.
Definition: ICompositeContainer.h:55
virtual const Matrix4x4D & getTransformation(int index) const =0
Access composite mesh orientation by index.
virtual ErrorCode setElement(int index, ICompositeMesh *mesh)=0
Access container element (composite mesh) by index.
virtual ICompositeMesh * getElement(int index) const =0
Access container element (composite mesh) by index.
Definition: IRef.h:17