Kanzi 3.9.10
kanzi::CombinerObjectSourceRuntime Class Reference

Runtime for combiner object source. More...

#include <kanzi/core.ui/graphics3d/combiner_object_source_runtime.hpp>

Inheritance diagram for kanzi::CombinerObjectSourceRuntime:
[legend]

Public Types

using SourceRuntimeContainer
 Type for input runtimes.
 

Static Public Member Functions

static CombinerObjectSourceRuntimeSharedPtr create (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter, const SourceRuntimeContainer &sourceRuntimes)
 Creates a sort by shader object source runtime.
 

Protected Member Functions

 CombinerObjectSourceRuntime (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter, const SourceRuntimeContainer &sourceRuntimes)
 Constructor.
 
bool filterNodeOverride (Node &node) override
 FilterObjectSourceRuntime::filterNodeOverride() implementation.
 
bool isDirtyOverride () override
 ObjectSourceRuntime::isDirtyOverride() implementation.
 
- Protected Member Functions inherited from kanzi::FilterObjectSourceRuntime
 FilterObjectSourceRuntime (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter)
 Constructor.
 
void filterOverride (NodeList &inputNodes, NodeList &outputNodes) override
 ObjectSourceRuntime::filterOverride() implementation.
 
- Protected Member Functions inherited from kanzi::ObjectSourceRuntime
 ObjectSourceRuntime (NodeListSharedPtr nodeList, ObjectSourceSharedPtr objectSource)
 Constructor.
 
virtual void setCameraOverride (CameraSharedPtr camera)
 Object source -specific camera assignment.
 
virtual void updateOverride (NodeList &nodes)
 Object source -specific implementation of per-frame update.
 

Protected Attributes

SourceRuntimeContainer m_filterRuntimes
 Runtimes for other object sources.
 
- Protected Attributes inherited from kanzi::FilterObjectSourceRuntime
bool m_isExclusive
 Exclusivity flag, copied from the filter object source.
 
- Protected Attributes inherited from kanzi::ObjectSourceRuntime
NodeListWeakPtr m_inputNodes
 Input node list.
 
ObjectSourceWeakPtr m_objectSource
 Parent object source.
 
NodeListSharedPtr m_parentNodeList
 Node list that is the result of the parent runtime being executed.
 
ObjectSourceRuntimeSharedPtr m_parentRuntime
 Runtime for the object source chain.
 

Additional Inherited Members

- Public Member Functions inherited from kanzi::FilterObjectSourceRuntime
bool filterNode (Node &node)
 Runs a filter on the given node.
 
- Public Member Functions inherited from kanzi::ObjectSourceRuntime
void filter (NodeList &outputNodes)
 Runs the filter on a given node.
 
NodeListSharedPtr getInputNodeList ()
 Gets the input node list for this particular object source.
 
ObjectSourceRuntimeSharedPtr getParentRuntime () const
 Gets the parent runtime.
 
NodeListSharedPtr getRootNodeList ()
 Gets the root node list, parents included.
 
bool isDirty ()
 Tells if the node filter considers itself dirty and needs re-executing.
 
bool matches (NodeListSharedPtr nodeList, ObjectSourceSharedPtr filter)
 Tells if this filter runtime matches the given node list and filter.
 
void setCamera (CameraSharedPtr camera)
 Sets the camera for this object source runtime.
 
void update (NodeList &nodes)
 Perform implementation-dependent per-frame update for internal data of the filter.
 
virtual ~ObjectSourceRuntime ()=default
 Destructor.
 

Detailed Description

Runtime for combiner object source.

Since
Kanzi 3.9.0

Member Typedef Documentation

◆ SourceRuntimeContainer

Constructor & Destructor Documentation

◆ CombinerObjectSourceRuntime()

kanzi::CombinerObjectSourceRuntime::CombinerObjectSourceRuntime ( NodeListSharedPtr nodeList,
ObjectSourceSharedPtr filter,
const SourceRuntimeContainer & sourceRuntimes )
explicitprotected

Constructor.

Parameters
nodeListNode list to filter.
filterParent filter.
sourceRuntimesSource runtimes to be evaluated.

Member Function Documentation

◆ create()

static CombinerObjectSourceRuntimeSharedPtr kanzi::CombinerObjectSourceRuntime::create ( NodeListSharedPtr nodeList,
ObjectSourceSharedPtr filter,
const SourceRuntimeContainer & sourceRuntimes )
static

Creates a sort by shader object source runtime.

Parameters
nodeListNode list to filter.
filterParent filter.
sourceRuntimesSource runtimes to be evaluated.
Returns
Newly created sort by shader object source runtime.

◆ filterNodeOverride()

bool kanzi::CombinerObjectSourceRuntime::filterNodeOverride ( Node & node)
overrideprotectedvirtual

◆ isDirtyOverride()

bool kanzi::CombinerObjectSourceRuntime::isDirtyOverride ( )
overrideprotectedvirtual

Member Data Documentation

◆ m_filterRuntimes

SourceRuntimeContainer kanzi::CombinerObjectSourceRuntime::m_filterRuntimes
protected

Runtimes for other object sources.


The documentation for this class was generated from the following file: