Skip to main content

SimaRender Class

Node that renders bounding-box overlays onto a video frame. More...

Declaration

class simaai::neat::SimaRender { ... }

Included Headers

#include <SimaRender.h>

Base classes

classNode
classOutputSpecProvider

Public Constructors Index

SimaRender (SimaRenderOptions opt={})

Construct with optional SimaRenderOptions. More...

Public Member Functions Index

std::stringkind () const override

Type label for this Node kind. More...

NodeCapsBehaviorcaps_behavior () const override

Whether the Node negotiates static or dynamic caps. More...

boolhas_config_json () const override

Whether this Node is driven by a JSON config. More...

boolwire_input_names (const std::vector< std::string > &upstream_names, const std::string &tag) override

Legacy hook for node-local JSON wiring. More...

std::stringbackend_fragment (int node_index) const override

GStreamer fragment this Node emits. More...

std::vector< std::string >element_names (int node_index) const override

Deterministic element names this Node will create. More...

OutputSpecoutput_spec (const OutputSpec &input) const override

Negotiated downstream caps produced by this Node. More...

const SimaRenderOptions &options () const

Inspect the Node's options. More...

Private Member Attributes Index

SimaRenderOptionsopt_
std::shared_ptr< ConfigHolder >config_holder_
std::stringconfig_path_

Description

Node that renders bounding-box overlays onto a video frame.

Definition at line 40 of file SimaRender.h.

Public Constructors

SimaRender()

simaai::neat::SimaRender::SimaRender (SimaRenderOptions opt={})
explicit

Construct with optional SimaRenderOptions.

Definition at line 43 of file SimaRender.h.

Public Member Functions

backend_fragment()

std::string simaai::neat::SimaRender::backend_fragment (int node_index)

GStreamer fragment this Node emits.

Definition at line 59 of file SimaRender.h.

caps_behavior()

NodeCapsBehavior simaai::neat::SimaRender::caps_behavior ()
inline

Whether the Node negotiates static or dynamic caps.

Definition at line 50 of file SimaRender.h.

50 NodeCapsBehavior caps_behavior() const override {
51 return NodeCapsBehavior::Static;
52 }

element_names()

std::vector< std::string > simaai::neat::SimaRender::element_names (int node_index)

Deterministic element names this Node will create.

Definition at line 61 of file SimaRender.h.

has_config_json()

bool simaai::neat::SimaRender::has_config_json ()

Whether this Node is driven by a JSON config.

Definition at line 54 of file SimaRender.h.

kind()

std::string simaai::neat::SimaRender::kind ()
inline

Type label for this Node kind.

Definition at line 46 of file SimaRender.h.

46 std::string kind() const override {
47 return "SimaRender";
48 }

options()

const SimaRenderOptions & simaai::neat::SimaRender::options ()
inline

Inspect the Node's options.

Definition at line 66 of file SimaRender.h.

66 const SimaRenderOptions& options() const {
67 return opt_;
68 }

output_spec()

OutputSpec simaai::neat::SimaRender::output_spec (const OutputSpec & input)

Negotiated downstream caps produced by this Node.

Definition at line 63 of file SimaRender.h.

wire_input_names()

bool simaai::neat::SimaRender::wire_input_names (const std::vector< std::string > & upstream_names, const std::string & tag)

Legacy hook for node-local JSON wiring.

Definition at line 56 of file SimaRender.h.

Private Member Attributes

config_holder_

std::shared_ptr<ConfigHolder> simaai::neat::SimaRender::config_holder_

Definition at line 74 of file SimaRender.h.

74 std::shared_ptr<ConfigHolder> config_holder_;

config_path_

std::string simaai::neat::SimaRender::config_path_

Definition at line 75 of file SimaRender.h.

75 std::string config_path_;

opt_

SimaRenderOptions simaai::neat::SimaRender::opt_

Definition at line 73 of file SimaRender.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.