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

Index layer for triangle mesh. More...

#include <Core/Geometry/IndexedGeometry.hpp>

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

Static Public Attributes

static constexpr const char * staticSemanticName = "TriangleMesh"
 

Protected Member Functions

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

Detailed Description

Index layer for triangle mesh.

Note
, This layer ensures that all faces have exactly 3 vertices

Definition at line 425 of file IndexedGeometry.hpp.

Constructor & Destructor Documentation

◆ TriangleIndexLayer() [1/2]

Ra::Core::Geometry::TriangleIndexLayer::TriangleIndexLayer ( )
inline

Definition at line 711 of file IndexedGeometry.hpp.

◆ TriangleIndexLayer() [2/2]

template<class... SemanticNames>
Ra::Core::Geometry::TriangleIndexLayer::TriangleIndexLayer ( SemanticNames... names)
inlineexplicitprotected

Definition at line 714 of file IndexedGeometry.hpp.

Member Data Documentation

◆ staticSemanticName

const char* Ra::Core::Geometry::TriangleIndexLayer::staticSemanticName = "TriangleMesh"
staticconstexpr

Definition at line 427 of file IndexedGeometry.hpp.


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