Skip to content

Commit

Permalink
codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jul 7, 2023
1 parent f951f1b commit 4f29903
Show file tree
Hide file tree
Showing 11 changed files with 5,540 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/re_types/source_hash.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a sha256 hash for all direct and indirect dependencies of this crate's build script.
# It can be safely removed at anytime to force the build script to run again.
# Check out build.rs to see how it's computed.
e2fe09d197c4d6639e8e0025f54510043f32bc4c269bcb772f9196027de1ff8e
ad9cf165b8bd298ef904c187aeb29a93a1d5681fe58ab93c278f73ce1684db20
682 changes: 679 additions & 3 deletions crates/re_types/src/archetypes/fuzzy.rs

Large diffs are not rendered by default.

2,130 changes: 2,130 additions & 0 deletions crates/re_types/src/components/fuzzy.rs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions crates/re_types/src/components/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ pub use self::class_id::ClassId;
pub use self::color::Color;
pub use self::draw_order::DrawOrder;
pub use self::fuzzy::{
AffixFuzzer1, AffixFuzzer10, AffixFuzzer11, AffixFuzzer12, AffixFuzzer13, AffixFuzzer2,
AffixFuzzer3, AffixFuzzer4, AffixFuzzer5, AffixFuzzer6, AffixFuzzer7, AffixFuzzer8,
AffixFuzzer9,
AffixFuzzer1, AffixFuzzer10, AffixFuzzer11, AffixFuzzer12, AffixFuzzer13, AffixFuzzer14,
AffixFuzzer16, AffixFuzzer17, AffixFuzzer18, AffixFuzzer2, AffixFuzzer3, AffixFuzzer4,
AffixFuzzer5, AffixFuzzer6, AffixFuzzer7, AffixFuzzer8, AffixFuzzer9,
};
pub use self::instance_key::InstanceKey;
pub use self::keypoint_id::KeypointId;
Expand Down
1,797 changes: 1,797 additions & 0 deletions crates/re_types/src/datatypes/fuzzy.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/re_types/src/datatypes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ mod point2d_ext;
mod vec2d;
mod vec2d_ext;

pub use self::fuzzy::{AffixFuzzer1, AffixFuzzer2, FlattenedScalar};
pub use self::fuzzy::{AffixFuzzer1, AffixFuzzer2, AffixFuzzer3, AffixFuzzer4, FlattenedScalar};
pub use self::point2d::Point2D;
pub use self::vec2d::Vec2D;
72 changes: 72 additions & 0 deletions rerun_py/rerun_sdk/rerun/_rerun2/archetypes/fuzzy.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@ class AffixFuzzer1(Archetype):
metadata={"component": "primary"},
converter=components.AffixFuzzer13Array.from_similar, # type: ignore[misc]
)
fuzz1014: components.AffixFuzzer14Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer14Array.from_similar, # type: ignore[misc]
)
fuzz1016: components.AffixFuzzer16Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer16Array.from_similar, # type: ignore[misc]
)
fuzz1017: components.AffixFuzzer17Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer17Array.from_similar, # type: ignore[misc]
)
fuzz1018: components.AffixFuzzer18Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer18Array.from_similar, # type: ignore[misc]
)
fuzz1101: components.AffixFuzzer1Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer1Array.from_similar, # type: ignore[misc]
Expand Down Expand Up @@ -118,6 +134,22 @@ class AffixFuzzer1(Archetype):
metadata={"component": "primary"},
converter=components.AffixFuzzer13Array.from_similar, # type: ignore[misc]
)
fuzz1114: components.AffixFuzzer14Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer14Array.from_similar, # type: ignore[misc]
)
fuzz1116: components.AffixFuzzer16Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer16Array.from_similar, # type: ignore[misc]
)
fuzz1117: components.AffixFuzzer17Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer17Array.from_similar, # type: ignore[misc]
)
fuzz1118: components.AffixFuzzer18Array = field(
metadata={"component": "primary"},
converter=components.AffixFuzzer18Array.from_similar, # type: ignore[misc]
)
fuzz2001: components.AffixFuzzer1Array | None = field(
metadata={"component": "secondary"},
default=None,
Expand Down Expand Up @@ -183,6 +215,26 @@ class AffixFuzzer1(Archetype):
default=None,
converter=components.AffixFuzzer13Array.from_similar, # type: ignore[misc]
)
fuzz2014: components.AffixFuzzer14Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer14Array.from_similar, # type: ignore[misc]
)
fuzz2016: components.AffixFuzzer16Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer16Array.from_similar, # type: ignore[misc]
)
fuzz2017: components.AffixFuzzer17Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer17Array.from_similar, # type: ignore[misc]
)
fuzz2018: components.AffixFuzzer18Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer18Array.from_similar, # type: ignore[misc]
)
fuzz2101: components.AffixFuzzer1Array | None = field(
metadata={"component": "secondary"},
default=None,
Expand Down Expand Up @@ -248,5 +300,25 @@ class AffixFuzzer1(Archetype):
default=None,
converter=components.AffixFuzzer13Array.from_similar, # type: ignore[misc]
)
fuzz2114: components.AffixFuzzer14Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer14Array.from_similar, # type: ignore[misc]
)
fuzz2116: components.AffixFuzzer16Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer16Array.from_similar, # type: ignore[misc]
)
fuzz2117: components.AffixFuzzer17Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer17Array.from_similar, # type: ignore[misc]
)
fuzz2118: components.AffixFuzzer18Array | None = field(
metadata={"component": "secondary"},
default=None,
converter=components.AffixFuzzer18Array.from_similar, # type: ignore[misc]
)
__str__ = Archetype.__str__
__repr__ = Archetype.__repr__
34 changes: 34 additions & 0 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,23 @@
AffixFuzzer13ArrayLike,
AffixFuzzer13Like,
AffixFuzzer13Type,
AffixFuzzer14Array,
AffixFuzzer14Type,
AffixFuzzer16,
AffixFuzzer16Array,
AffixFuzzer16ArrayLike,
AffixFuzzer16Like,
AffixFuzzer16Type,
AffixFuzzer17,
AffixFuzzer17Array,
AffixFuzzer17ArrayLike,
AffixFuzzer17Like,
AffixFuzzer17Type,
AffixFuzzer18,
AffixFuzzer18Array,
AffixFuzzer18ArrayLike,
AffixFuzzer18Like,
AffixFuzzer18Type,
)
from .instance_key import InstanceKey, InstanceKeyArray, InstanceKeyArrayLike, InstanceKeyLike, InstanceKeyType
from .keypoint_id import KeypointId, KeypointIdArray, KeypointIdArrayLike, KeypointIdLike, KeypointIdType
Expand Down Expand Up @@ -81,6 +98,23 @@
"AffixFuzzer13ArrayLike",
"AffixFuzzer13Like",
"AffixFuzzer13Type",
"AffixFuzzer14Array",
"AffixFuzzer14Type",
"AffixFuzzer16",
"AffixFuzzer16Array",
"AffixFuzzer16ArrayLike",
"AffixFuzzer16Like",
"AffixFuzzer16Type",
"AffixFuzzer17",
"AffixFuzzer17Array",
"AffixFuzzer17ArrayLike",
"AffixFuzzer17Like",
"AffixFuzzer17Type",
"AffixFuzzer18",
"AffixFuzzer18Array",
"AffixFuzzer18ArrayLike",
"AffixFuzzer18Like",
"AffixFuzzer18Type",
"AffixFuzzer1Array",
"AffixFuzzer1Type",
"AffixFuzzer2Array",
Expand Down
Loading

0 comments on commit 4f29903

Please sign in to comment.