Radium Engine
1.5.0
|
Typed index collection. More...
#include <Core/Geometry/IndexedGeometry.hpp>
Public Types | |
using | IndexType = T |
using | IndexContainerType = VectorArray< IndexType > |
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. | |
Public Member Functions | |
IndexContainerType & | collection () |
const IndexContainerType & | collection () const |
bool | append (const GeometryIndexLayerBase &other) final |
Append content from another layer. More... | |
bool | operator== (const GeometryIndexLayerBase &other) const final |
size_t | getSize () const override final |
std::unique_ptr< GeometryIndexLayerBase > | clone () override final |
Create new layer with duplicated content. | |
size_t | getNumberOfComponents () const override final |
size_t | getBufferSize () const override final |
int | getStride () const override final |
const void * | dataPtr () const override final |
Public Member Functions inherited from Ra::Core::Geometry::GeometryIndexLayerBase | |
GeometryIndexLayerBase (const GeometryIndexLayerBase &other) | |
Copy constructor. More... | |
GeometryIndexLayerBase & | operator= (const GeometryIndexLayerBase &other) |
Assignment operator. More... | |
GeometryIndexLayerBase & | operator= (GeometryIndexLayerBase &&other) |
Move assignment operator. More... | |
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. | |
Protected Member Functions | |
template<class... SemanticNames> | |
GeometryIndexLayer (SemanticNames... names) | |
Protected Member Functions inherited from Ra::Core::Geometry::GeometryIndexLayerBase | |
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) | |
Typed index collection.
Definition at line 52 of file IndexedGeometry.hpp.
|
inlinefinalvirtual |
Append content from another layer.
Implements Ra::Core::Geometry::GeometryIndexLayerBase.
Definition at line 599 of file IndexedGeometry.hpp.
|
inlinefinaloverridevirtual |
Implements Ra::Core::Utils::ContainerIntrospectionInterface.
Definition at line 639 of file IndexedGeometry.hpp.
|
inlinefinaloverridevirtual |
Implements Ra::Core::Utils::ContainerIntrospectionInterface.
Definition at line 629 of file IndexedGeometry.hpp.
|
inlinefinaloverridevirtual |
Return the number of components of one element (i.e. for glVertexAttribPointer size argument )
Implements Ra::Core::Utils::ContainerIntrospectionInterface.
Definition at line 624 of file IndexedGeometry.hpp.
|
inlinefinaloverridevirtual |
Implements Ra::Core::Utils::ContainerIntrospectionInterface.
Definition at line 619 of file IndexedGeometry.hpp.
|
inlinefinaloverridevirtual |
Implements Ra::Core::Utils::ContainerIntrospectionInterface.
Definition at line 634 of file IndexedGeometry.hpp.
|
inlinefinalvirtual |
Reimplemented from Ra::Core::Geometry::GeometryIndexLayerBase.
Definition at line 610 of file IndexedGeometry.hpp.