Radium Engine
1.5.20
|
Base class for index collections stored in MultiIndexedGeometry. More...
#include <Core/Geometry/IndexedGeometry.hpp>
Public Member Functions | |
GeometryIndexLayerBase (const GeometryIndexLayerBase &other) | |
Copy constructor. | |
GeometryIndexLayerBase & | operator= (const GeometryIndexLayerBase &other) |
Assignment operator. | |
GeometryIndexLayerBase & | operator= (GeometryIndexLayerBase &&other) |
Move assignment operator. | |
virtual std::unique_ptr< GeometryIndexLayerBase > | clone ()=0 |
Create new layer with duplicated content. | |
virtual bool | append (const GeometryIndexLayerBase &other)=0 |
Append content from another layer. | |
virtual bool | operator== (const GeometryIndexLayerBase &other) const |
Compare if two layers have the same content. | |
Public Member Functions inherited from Ra::Core::Utils::ObjectWithSemantic | |
ObjectWithSemantic (const ObjectWithSemantic &other) | |
bool | hasSemantic (const SemanticName &name) const |
const SemanticNameCollection & | semantics () const |
ObjectWithSemantic & | operator= (const ObjectWithSemantic &other) |
ObjectWithSemantic & | operator= (ObjectWithSemantic &&other) |
bool | shareSemantic (const ObjectWithSemantic &other) const |
bool | sameSemantics (const ObjectWithSemantic &other) const |
Public Member Functions inherited from Ra::Core::Utils::ContainerIntrospectionInterface | |
virtual | ~ContainerIntrospectionInterface () |
only needed for correct abstract dtor call. | |
virtual size_t | getSize () const =0 |
virtual size_t | getNumberOfComponents () const =0 |
virtual size_t | getBufferSize () const =0 |
virtual int | getStride () const =0 |
virtual const void * | dataPtr () const =0 |
Protected Member Functions | |
template<class... SemanticNames> | |
GeometryIndexLayerBase (SemanticNames... names) | |
Hidden constructor that must be called by inheriting classes to define the object semantics. | |
Protected Member Functions inherited from Ra::Core::Utils::ObjectWithSemantic | |
template<class... SemanticNames> | |
ObjectWithSemantic (SemanticNames... names) | |
ObjectWithSemantic (const SemanticNameCollection &otherNames) | |
Additional Inherited Members | |
Public Types inherited from Ra::Core::Utils::ObjectWithSemantic | |
using | SemanticName = std::string |
using | SemanticNameCollection = std::set<SemanticName> |
Store in set to allow for logarithmic search. | |
Base class for index collections stored in MultiIndexedGeometry.
Definition at line 17 of file IndexedGeometry.hpp.
|
inlineexplicit |
|
inlinevirtual |
Definition at line 579 of file IndexedGeometry.hpp.
|
inlineprotected |
Hidden constructor that must be called by inheriting classes to define the object semantics.
Definition at line 47 of file IndexedGeometry.hpp.
|
pure virtual |
Append content from another layer.
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, and Ra::Core::Geometry::GeometryIndexLayer< VectorNui >.
|
pure virtual |
Create new layer with duplicated content.
Implemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, and Ra::Core::Geometry::GeometryIndexLayer< VectorNui >.
|
inline |
|
inline |
Move assignment operator.
Definition at line 572 of file IndexedGeometry.hpp.
|
inlinevirtual |
Compare if two layers have the same content.
Reimplemented in Ra::Core::Geometry::GeometryIndexLayer< T >, Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector2ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >, Ra::Core::Geometry::GeometryIndexLayer< Vector4ui >, and Ra::Core::Geometry::GeometryIndexLayer< VectorNui >.
Definition at line 581 of file IndexedGeometry.hpp.