Kanzi  3.9.6
Kanzi Engine API
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 = vector< FilterObjectSourceRuntimeSharedPtr >
 Type for input runtimes. More...
 

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

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

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: