Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Geometry::GeometryIndexLayerBase Class Referenceabstract

Base class for index collections stored in MultiIndexedGeometry. More...

#include <Core/Geometry/IndexedGeometry.hpp>

+ Inheritance diagram for Ra::Core::Geometry::GeometryIndexLayerBase:
+ Collaboration diagram for Ra::Core::Geometry::GeometryIndexLayerBase:

Public Member Functions

 GeometryIndexLayerBase (const GeometryIndexLayerBase &other)
 Copy constructor.
 
GeometryIndexLayerBaseoperator= (const GeometryIndexLayerBase &other)
 Assignment operator.
 
GeometryIndexLayerBaseoperator= (GeometryIndexLayerBase &&other)
 Move assignment operator.
 
virtual std::unique_ptr< GeometryIndexLayerBaseclone ()=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 SemanticNameCollectionsemantics () const
 
ObjectWithSemanticoperator= (const ObjectWithSemantic &other)
 
ObjectWithSemanticoperator= (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.
 

Detailed Description

Base class for index collections stored in MultiIndexedGeometry.

Definition at line 17 of file IndexedGeometry.hpp.

Constructor & Destructor Documentation

◆ GeometryIndexLayerBase() [1/2]

Ra::Core::Geometry::GeometryIndexLayerBase::GeometryIndexLayerBase ( const GeometryIndexLayerBase & other)
inlineexplicit

Copy constructor.

Note
Do not copy observers

Definition at line 561 of file IndexedGeometry.hpp.

◆ ~GeometryIndexLayerBase()

Ra::Core::Geometry::GeometryIndexLayerBase::~GeometryIndexLayerBase ( )
inlinevirtual

Definition at line 579 of file IndexedGeometry.hpp.

◆ GeometryIndexLayerBase() [2/2]

template<class... SemanticNames>
Ra::Core::Geometry::GeometryIndexLayerBase::GeometryIndexLayerBase ( SemanticNames... names)
inlineprotected

Hidden constructor that must be called by inheriting classes to define the object semantics.

Definition at line 47 of file IndexedGeometry.hpp.

Member Function Documentation

◆ append()

virtual bool Ra::Core::Geometry::GeometryIndexLayerBase::append ( const GeometryIndexLayerBase & other)
pure virtual

◆ clone()

◆ operator=() [1/2]

GeometryIndexLayerBase & Ra::Core::Geometry::GeometryIndexLayerBase::operator= ( const GeometryIndexLayerBase & other)
inline

Assignment operator.

Note
Do not copy observers

Definition at line 565 of file IndexedGeometry.hpp.

◆ operator=() [2/2]

GeometryIndexLayerBase & Ra::Core::Geometry::GeometryIndexLayerBase::operator= ( GeometryIndexLayerBase && other)
inline

Move assignment operator.

Note
Do not copy observers

Definition at line 572 of file IndexedGeometry.hpp.

◆ operator==()


The documentation for this class was generated from the following file: