Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Geometry::PointCloudIndexLayer Struct Reference

Index layer for a point cloud. More...

#include <Core/Geometry/IndexedGeometry.hpp>

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

Public Member Functions

 PointCloudIndexLayer ()
 Constructor of an empty layer.
 
 PointCloudIndexLayer (size_t n)
 Constructor of an index layer with linearly spaced indices ranging from \(0\) to \(n-1\).
 
void linearIndices (const AttribArrayGeometry &attr)
 Generate linearly spaced indices with same size as attr vertex buffer.
 
- Public Member Functions inherited from Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >
IndexContainerTypecollection ()
 
const IndexContainerTypecollection () const
 
bool append (const GeometryIndexLayerBase &other) final
 Append content from another layer.
 
bool operator== (const GeometryIndexLayerBase &other) const final
 
size_t getSize () const override final
 
std::unique_ptr< GeometryIndexLayerBaseclone () 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.
 
GeometryIndexLayerBaseoperator= (const GeometryIndexLayerBase &other)
 Assignment operator.
 
GeometryIndexLayerBaseoperator= (GeometryIndexLayerBase &&other)
 Move assignment operator.
 
- 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.
 

Static Public Attributes

static constexpr const char * staticSemanticName = "PointCloud"
 

Protected Member Functions

template<class... SemanticNames>
 PointCloudIndexLayer (SemanticNames... names)
 
- Protected Member Functions inherited from Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >
 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)
 

Additional Inherited Members

- Public Types inherited from Ra::Core::Geometry::GeometryIndexLayer< Vector1ui >
using IndexType
 
using IndexContainerType
 
- 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

Index layer for a point cloud.

Definition at line 405 of file IndexedGeometry.hpp.

Constructor & Destructor Documentation

◆ PointCloudIndexLayer() [1/3]

Ra::Core::Geometry::PointCloudIndexLayer::PointCloudIndexLayer ( )
inline

Constructor of an empty layer.

Definition at line 700 of file IndexedGeometry.hpp.

◆ PointCloudIndexLayer() [2/3]

Ra::Core::Geometry::PointCloudIndexLayer::PointCloudIndexLayer ( size_t n)
inlineexplicit

Constructor of an index layer with linearly spaced indices ranging from \(0\) to \(n-1\).

Definition at line 702 of file IndexedGeometry.hpp.

+ Here is the call graph for this function:

◆ PointCloudIndexLayer() [3/3]

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

Definition at line 708 of file IndexedGeometry.hpp.

Member Function Documentation

◆ linearIndices()

void Ra::Core::Geometry::PointCloudIndexLayer::linearIndices ( const AttribArrayGeometry & attr)

Generate linearly spaced indices with same size as attr vertex buffer.

Definition at line 262 of file IndexedGeometry.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ staticSemanticName

const char* Ra::Core::Geometry::PointCloudIndexLayer::staticSemanticName = "PointCloud"
staticconstexpr

Definition at line 416 of file IndexedGeometry.hpp.


The documentation for this struct was generated from the following files: