Rumba C++ SDK
Geometry

Functions

virtual bool maquina::NodeDelegate::has_geometry () const
 Return true if this node has a geometry. More...
 
virtual Shape maquina::NodeDelegate::geometry () const
 Returns the node's geometry. More...
 
virtual bool maquina::NodeDelegate::is_sculpt () const
 This node is a sculpt node, i-e, displaces the vertices of the input scene's geometries using sparse buffers of delta position. More...
 
virtual BufferConstV3f maquina::NodeDelegate::input_points (const StringView &path, const QueryContext &qc=QueryContext::at_current_frame) const
 Return the points of the input scene node at the given path. More...
 
virtual SparseBufferConstV3f maquina::NodeDelegate::delta_points (const StringView &path, const QueryContext &qc=QueryContext::at_current_frame) const
 Return the delta points fot the scene node at the given path. More...
 
virtual void maquina::NodeDelegate::set_delta_points (const SparseBufferConstV3f &delta_points, const StringView &path, const ModificationContext &mc=ModificationContext::default_mc()) const
 Set the delta points fot the scene node at the given path. More...
 
virtual std::shared_ptr< maquina::NodeDelegate::Observermaquina::NodeDelegate::create_sculpt_observer (const std::function< void()> &func, bool in_interactive)
 Create an observer notified when the NodeDelegate sculpt attributes have changed. More...
 

Detailed Description

Function Documentation

◆ create_sculpt_observer()

virtual std::shared_ptr<maquina::NodeDelegate::Observer> maquina::NodeDelegate::create_sculpt_observer ( const std::function< void()> &  func,
bool  in_interactive 
)
virtual

Create an observer notified when the NodeDelegate sculpt attributes have changed.

Reimplemented in maquina::NodeDelegateWrapper.

◆ delta_points()

virtual SparseBufferConstV3f maquina::NodeDelegate::delta_points ( const StringView path,
const QueryContext qc = QueryContext::at_current_frame 
) const
virtual

Return the delta points fot the scene node at the given path.

Reimplemented in maquina::NodeDelegateWrapper.

◆ geometry()

virtual Shape maquina::NodeDelegate::geometry ( ) const
virtual

Returns the node's geometry.

Exceptions
std::runtime_errorif the node has no geometry.

Reimplemented in maquina::NodeDelegateWrapper.

◆ has_geometry()

virtual bool maquina::NodeDelegate::has_geometry ( ) const
virtual

Return true if this node has a geometry.

Reimplemented in maquina::NodeDelegateWrapper.

◆ input_points()

virtual BufferConstV3f maquina::NodeDelegate::input_points ( const StringView path,
const QueryContext qc = QueryContext::at_current_frame 
) const
virtual

Return the points of the input scene node at the given path.

Reimplemented in maquina::NodeDelegateWrapper.

◆ is_sculpt()

virtual bool maquina::NodeDelegate::is_sculpt ( ) const
virtual

This node is a sculpt node, i-e, displaces the vertices of the input scene's geometries using sparse buffers of delta position.

Reimplemented in maquina::NodeDelegateWrapper.

◆ set_delta_points()

virtual void maquina::NodeDelegate::set_delta_points ( const SparseBufferConstV3f delta_points,
const StringView path,
const ModificationContext mc = ModificationContext::default_mc() 
) const
virtual

Set the delta points fot the scene node at the given path.

Reimplemented in maquina::NodeDelegateWrapper.