ImFusion SDK 4.3
CustomFaceProperty< T > Class Template Reference

#include <ImFusion/Mesh/MeshCustomProperties.h>

A custom property using faces/triangles as geometry elements. More...

+ Inheritance diagram for CustomFaceProperty< T >:

Detailed Description

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

A custom property using faces/triangles 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 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 & otherMesh) const
overridevirtual

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

If the target mesh already had a property with matching type and name, it will connect to that one.

Implements CustomPropertyBase.


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