Radium Engine  1.5.0
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 = Vector3ui
 
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 inherited from Ra::Core::Geometry::GeometryIndexLayer< Vector3ui >
IndexContainerTypecollection ()
 
const IndexContainerTypecollection () 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< 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. More...
 
GeometryIndexLayerBaseoperator= (const GeometryIndexLayerBase &other)
 Assignment operator. More...
 
GeometryIndexLayerBaseoperator= (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 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.


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