Skip to content

Integrate flycapture2#5

Merged
jlblancoc merged 9 commits into
masterfrom
integrate-flycapture2
Jan 11, 2014
Merged

Integrate flycapture2#5
jlblancoc merged 9 commits into
masterfrom
integrate-flycapture2

Conversation

@jlblancoc
Copy link
Copy Markdown
Member

No description provided.

jlblancoc added a commit that referenced this pull request Jan 11, 2014
@jlblancoc jlblancoc merged commit 9de932c into master Jan 11, 2014
@jlblancoc jlblancoc deleted the integrate-flycapture2 branch January 11, 2014 11:10
jlblancoc pushed a commit that referenced this pull request Aug 27, 2016
Added header and source files in vision module
jlblancoc added a commit that referenced this pull request May 28, 2026
…comments

PR2 — Insertion-order map (#2 + #10):
- map_t changed from std::map<node_t,node_t> to std::vector<pair<node_t,node_t>>
- Preserves YAML key-insertion order; keys still carry parse-time comments
- All map lookups use linear search (O(n) — fast for < 100-key configs)
- Remove std::map sort operator<(node_t,node_t) — no longer needed
- Tests updated: insertion-order expectation replaces old alphabetical order
- asMapRange()/asMap() stay as value-returning copies for safe iteration

PR3 — std::variant scalar + sparse NodeMeta (#3 + #5 + #12):
- scalar_t changed from std::any to
  variant<monostate,bool,int64_t,uint64_t,double,string,shared_ptr<yaml>>
- Storage rules: signed widths → int64_t, unsigned → uint64_t, float → double
- implAnyAsGetter<T> rewritten using std::visit; static_assert coverage added
- internalPrintAsYAML(scalar_t) rewritten via std::visit
- NodeMeta struct holds comments behind unique_ptr; null when no comments
  (saves ~96 bytes per node in comment-free documents)
- mark_t kept inline in node_t (always available for parse-error messages)
- node_t gets explicit copy ctor/assignment to deep-copy NodeMeta
- node_t::as<T>() moved out of class body to avoid forward-declare issue
- All YAML comment API goes through commentSlot() helper
- Python bindings: scalar type checks simplified to variant alternatives only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jlblancoc added a commit that referenced this pull request May 29, 2026
Create python_bindings/mrpt_opengl_py.cpp and python/mrpt/opengl/__init__.py
with CFBORender and CFBORenderParameters wrapped. render_RGB, render_depth,
and render_RGBD output arguments are exposed as return values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant