-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopos.features-help.pd
executable file
·193 lines (193 loc) · 6.05 KB
/
topos.features-help.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
#N canvas 0 22 589 691 10;
#X declare -lib iem_tab;
#X declare -lib iem_tab;
#X declare -path mtl;
#X declare -lib iem_tab;
#X text 42 280 USAGE;
#X text 267 206 RETRIEVE FEATURES;
#X obj 140 52 cnv 15 25 150 empty empty empty 20 12 0 14 -261234 -66577
0;
#X msg 35 123 getPosition 1;
#X text 174 141 ARGUMENT 2: feature to be routed to the 2nd outlet
;
#X text 236 77 Topos object that generates the data;
#X obj 48 223 route volume xyzRange meanPosition speed displacement
inPoints getPosPoint centerPointsAvr centerPointsStd centerPointsDist
;
#X text 175 111 ARGUMENT 1: symbol that links the source [topos];
#X text 56 300 [toposFeatures link];
#X obj 37 334 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#X obj 41 416 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj 41 483 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#X obj 41 579 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8
12 0 13 -228856 -1 0;
#N canvas 246 467 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X text 26 40 [topos];
#X restore 350 626 pd Related_objects;
#X obj 22 -40 cnv 15 552 40 empty cnv.header topos.features 3 12 0
18 -204280 -1 0;
#N canvas 496 267 494 344 META 0;
#X text 12 25 LICENSE LGPL v2.1;
#X text 18 165 AUTHOR Luiz Naveda;
#X text 15 185 WEBSITE http://naveda.info;
#X text 15 204 HELP_PATCH_AUTHORS "pd meta" information added by Luiz
Naveda for 0.43.4-extended;
#X text 12 5 KEYWORDS;
#X text 12 45 DESCRIPTION;
#X text 14 79 INLET_0;
#X text 14 99 INLET_1;
#X text 14 119 INLET_2;
#X text 17 142 OUTLET_0;
#X restore 525 627 pd META;
#N canvas 376 460 504 212 guts 0;
#X msg 79 104 cnv.header vis_size 650 60;
#X msg 81 65 \; cnv.header label topos.features;
#X restore 474 626 pd guts;
#X text 353 -18 Topos Library;
#X text 460 -16 http://naveda.info;
#X text 24 -18 Extracts features from a [topos] object;
#X msg 229 383 getPosPoint 5;
#N canvas 555 199 587 626 description 0;
#X floatatom 222 17 5 0 0 0 - - -;
#X obj 72 71 route volume;
#X obj 71 114 route xyzRange;
#X floatatom 73 94 5 0 0 0 - - -;
#X obj 89 139 pddp/print;
#X obj 88 281 pddp/print;
#X obj 78 257 route meanPosition;
#X floatatom 76 189 5 0 0 0 - - -;
#X obj 75 166 route displacement;
#X floatatom 77 233 5 0 0 0 - - -;
#X obj 76 210 route speed;
#X obj 89 337 pddp/print;
#X obj 78 312 route inPoints;
#X obj 67 592 pddp/print;
#X obj 67 570 route getPosPoint;
#X msg 22 12 getPosPoint 5;
#X floatatom 79 388 5 0 0 0 - - -;
#X obj 79 364 route centerPointsAvr;
#X obj 77 419 route centerPointsStd;
#X floatatom 77 442 5 0 0 0 - - -;
#X obj 82 494 pddp/print;
#X obj 69 470 route centerPointsDist;
#X text 179 73 volume: total volume (f) of the bounding rectangular
parallelepiped;
#X text 181 119 xyzRange: range of each dimension (f f f);
#X text 220 259 meanPosition: mean position of the topology (f f f)
;
#X text 226 311 inPoints: actual 3d point projected onto the topology
;
#X text 67 521 getPosPoint: when the message [getPosition N( is sent
to the 1st inlet \, the abstraction returns the positon of the N point
in the topology;
#X text 230 370 centerPointsAvr: Average distance between all points
and the centroid of the topology;
#X text 233 423 centerPointsStd: Standard deviation of the distance
between all points and the centroid of the topology.;
#X text 234 462 centerPointsDista: Distancesbetween each point and
their mean.;
#X text 219 164 speed: accumulative displacement of the point cloud
;
#X text 219 213 speed: instantaneous velocity of the point cloud;
#X text 217 36 The third argument sends the feature to the second inlet
for fast prototyping;
#X obj 23 42 topos.features LINK volume;
#X connect 1 0 3 0;
#X connect 2 0 4 0;
#X connect 6 0 5 0;
#X connect 8 0 7 0;
#X connect 10 0 9 0;
#X connect 12 0 11 0;
#X connect 14 0 13 0;
#X connect 15 0 33 0;
#X connect 17 0 16 0;
#X connect 18 0 19 0;
#X connect 21 0 20 0;
#X connect 33 0 1 0;
#X connect 33 0 2 0;
#X connect 33 0 6 0;
#X connect 33 0 8 0;
#X connect 33 0 10 0;
#X connect 33 0 12 0;
#X connect 33 0 14 0;
#X connect 33 0 17 0;
#X connect 33 0 18 0;
#X connect 33 0 21 0;
#X connect 33 1 0 0;
#X restore 240 295 pd description of the features;
#N canvas 498 84 450 300 random 0;
#X obj 126 64 metro 1000;
#X obj 126 38 ii 1;
#X obj 159 40 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 127 140 line;
#X msg 127 119 \$1 1000;
#X obj 137 150 line;
#X msg 137 129 \$1 1000;
#X obj 147 160 line;
#X msg 147 139 \$1 1000;
#X obj 128 245 pack f f f;
#X obj 132 273 outlet;
#X obj 130 197 - 3;
#X obj 140 207 - 3;
#X obj 150 217 - 3;
#X obj 127 94 random 6;
#X obj 138 105 random 6;
#X obj 147 114 random 6;
#X floatatom 222 86 5 0 0 0 - - -;
#X obj 217 131 / 2;
#X obj 261 70 ii 10;
#X connect 0 0 14 0;
#X connect 0 0 15 0;
#X connect 0 0 16 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 11 0;
#X connect 4 0 3 0;
#X connect 5 0 12 0;
#X connect 6 0 5 0;
#X connect 7 0 13 0;
#X connect 8 0 7 0;
#X connect 9 0 10 0;
#X connect 11 0 9 0;
#X connect 12 0 9 1;
#X connect 13 0 9 2;
#X connect 14 0 4 0;
#X connect 15 0 6 0;
#X connect 16 0 8 0;
#X connect 17 0 16 1;
#X connect 17 0 15 1;
#X connect 17 0 14 1;
#X connect 17 0 18 0;
#X connect 18 0 13 1;
#X connect 18 0 12 1;
#X connect 18 0 11 1;
#X connect 19 0 17 0;
#X restore 166 56 pd random movement generator;
#X floatatom 205 189 5 0 0 0 - - -;
#X text 130 361 Use the message getPosPoint to get the position of
the actual point;
#X text 117 361 1;
#X text 119 427 1 messages containing the feature data. Se [pd description
of the features];
#X text 119 461 2 feature dataspecified in the second argument;
#X text 121 509 1 - Symbol or Float: symbolic link refering to the
original [topos];
#X text 121 541 2 - symbol: name of the feature. This feature will
be posted to the second outlet;
#X obj 480 -35 topos.features;
#X obj 90 42 gemhead;
#X obj 318 13 topos.gemwin;
#X obj 105 77 topos LINK xyz 100 10;
#X obj 49 165 topos.features LINK volume;
#X connect 3 0 34 0;
#X connect 22 0 33 1;
#X connect 31 0 33 0;
#X connect 34 0 6 0;
#X connect 34 1 23 0;