ImFusion SDK 4.3
PointNode Class Reference

#include <ImFusion/Base/PointTree.h>

Class representing a tree point node. More...

+ Inheritance diagram for PointNode:

Detailed Description

Class representing a tree point node.

Public Member Functions

const vec3 & point () const
 
vec3 & point ()
 
void setPoint (const vec3 &point)
 
std::string typeName () const override
 
Nodeclone () const override
 
Geometry::AlignedBox bounds (const mat4 &m) const override
 
void configure (const Properties *p) override
 Configure this object instance by de-serializing the given Properties.
 
void configuration (Properties *p) const override
 Serialize the current object configuration into the given Properties object.
 
- Public Member Functions inherited from TypedNode< vec3 >
void setData (const vec3 &data)
 
const vec3 & data () const
 
vec3 & 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
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (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
 
NotCopyableoperator= (NotCopyable &&) noexcept=default
 
 NotCopyable (const NotCopyable &)=delete
 
NotCopyableoperator= (const NotCopyable &)=delete
 
- Protected Attributes inherited from TypedNode< vec3 >
vec3 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< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ typeName()

std::string typeName ( ) const
overridevirtual

Implements Node.

◆ clone()

Node * clone ( ) const
overridevirtual

Implements Node.

◆ bounds()

Geometry::AlignedBox bounds ( const mat4 & m) const
overridevirtual

Implements Node.

◆ configure()

void configure ( const Properties * p)
overridevirtual

Configure this object instance by de-serializing the given Properties.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configuration() for the inverse functionality

Reimplemented from Configurable.

◆ configuration()

void configuration ( Properties * p) const
overridevirtual

Serialize the current object configuration into the given Properties object.

The default implementation will do so automatically for all registered Parameter and SubProperty instances.

See also
configure() for the inverse functionality

Reimplemented from Configurable.


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