ImFusion SDK 4.3
CustomVertexProperty< T > Class Template Reference

#include <ImFusion/Mesh/MeshCustomProperties.h>

A custom property using vertices as geometry elements. More...

+ Inheritance diagram for CustomVertexProperty< T >:

Detailed Description

template<typename T>
class ImFusion::CustomVertexProperty< T >

A custom property using vertices as geometry elements.

Public Member Functions

void clone (Mesh &otherMesh) const override
 Creates a property of the same type and storage name on another mesh, does not (and indeed cannot possibly) copy any data.
 
- Public Member Functions inherited from CustomProperty< T >
CustomPropertyElement< T > & operator[] (size_t idx)
 Typed access to the property of vertex idx.
 
const CustomPropertyElement< T > & operator[] (size_t idx) const
 
CustomPropertyElementBaseelement (size_t idx) const override
 Untyped access to the property of vertex idx.
 
std::string name () const override
 Returns name that uniquely identifies the property on this mesh.
 

Additional Inherited Members

- Protected Member Functions inherited from CustomProperty< T >
 CustomProperty (std::vector< CustomPropertyElement< T > > &data, const std::string &name)
 
- Protected Member Functions inherited from NotCopyable
 NotCopyable (NotCopyable &&) noexcept=default
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 
- Protected Attributes inherited from CustomProperty< T >
CustomPropertyDescriptor< T > m_descriptor
 
std::vector< CustomPropertyElement< T > > & m_data
 

Member Function Documentation

◆ clone()

template<typename T>
void clone ( Mesh & meshToCloneTo) const
overridevirtual

Creates a property of the same type and storage name on another mesh, does not (and indeed cannot possibly) copy any data.

Implements CustomPropertyBase.


The documentation for this class was generated from the following files:
Search Tab / S to search, Esc to close