ImFusion C++ SDK 4.4.0
ImFusion::CustomPropertyElementBase Class Referenceabstract

#include <ImFusion/Mesh/MeshCustomProperties.h>

Basic interface for the value of a custom property on a single element. More...

Inheritance diagram for ImFusion::CustomPropertyElementBase:

Detailed Description

Basic interface for the value of a custom property on a single element.

Public Member Functions

 CustomPropertyElementBase (bool valid=false)
virtual std::unique_ptr< CustomPropertyElementBase > clone (bool withData=true) const =0
 Creates a copy of this object. If not cloning withData, the result will always be invalid.
bool valid () const
virtual CustomPropertyElementBase & operator= (const CustomPropertyElementBase &other)
virtual bool operator== (const CustomPropertyElementBase &other) const

Protected Attributes

bool m_valid = false

Member Function Documentation

◆ clone()

virtual std::unique_ptr< CustomPropertyElementBase > ImFusion::CustomPropertyElementBase::clone ( bool withData = true) const
pure virtual

Creates a copy of this object. If not cloning withData, the result will always be invalid.

Implemented in ImFusion::CustomPropertyElement< T >.


The documentation for this class was generated from the following file:
  • ImFusion/Mesh/MeshCustomProperties.h
Search Tab / S to search, Esc to close