![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Mesh/MeshOctree.h>
Class representing a mesh octree node. More...
Inheritance diagram for MeshOctreeNode:Class representing a mesh octree node.
Contains faces within the node's bounds
Public Member Functions | |
| MeshOctreeNode (const Mesh *mesh) | |
| void | setFaces (const std::vector< int > &faces, const Geometry::AlignedBox *b=nullptr) |
| Geometry::AlignedBox | bounds (const mat4 &m) const override |
| std::string | typeName () const override |
| Node * | clone () const override |
| virtual void | configure (const Properties *) override |
| Configure this object instance by de-serializing the given Properties. | |
| virtual void | configuration (Properties *) const override |
| Serialize the current object configuration into the given Properties object. | |
Public Member Functions inherited from TypedNode< std::vector< int > > | |
| void | setData (const std::vector< int > &data) |
| const std::vector< int > & | data () const |
| std::vector< int > & | data () |
Public Member Functions inherited from Node | |
| virtual void | reverse () |
| int | id () const |
Public Member Functions inherited from Configurable | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Additional Inherited Members | |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Protected Member Functions inherited from NotCopyable | |
| NotCopyable (NotCopyable &&) noexcept=default | |
| NotCopyable & | operator= (NotCopyable &&) noexcept=default |
| NotCopyable (const NotCopyable &)=delete | |
| NotCopyable & | operator= (const NotCopyable &)=delete |
Protected Attributes inherited from TypedNode< std::vector< int > > | |
| std::vector< int > | m_data |
Protected Attributes inherited from Node | |
| int | m_id |
| int | m_parentId |
| std::vector< int > | m_childIds |
| int | m_level = 0 |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Implements Node.
|
overridevirtual |
Implements Node.
|
inlineoverridevirtual |
Configure this object instance by de-serializing the given Properties.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from Configurable.
|
inlineoverridevirtual |
Serialize the current object configuration into the given Properties object.
The default implementation will do so automatically for all registered Parameter and SubProperty instances.
Reimplemented from Configurable.