Lines Matching refs:meta
30 daeMetaElement* meta = dae.getMeta(ID());
31 if ( meta != NULL ) return meta;
33 meta = new daeMetaElement(dae);
34 dae.setMeta(ID(), *meta);
35 meta->setName( "skin" );
36 meta->registerClass(domSkin::create);
40 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
42 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
48 mea = new daeMetaElementArrayAttribute( meta, cm, 1, 3, -1 );
54 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 );
60 mea = new daeMetaElementAttribute( meta, cm, 3, 1, 1 );
66 mea = new daeMetaElementArrayAttribute( meta, cm, 4, 0, -1 );
73 meta->setCMRoot( cm );
81 ma->setContainer( meta );
84 meta->appendAttribute(ma);
87 meta->setElementSize(sizeof(domSkin));
88 meta->validate();
90 return meta;
104 daeMetaElement* meta = dae.getMeta(ID());
105 if ( meta != NULL ) return meta;
107 meta = new daeMetaElement(dae);
108 dae.setMeta(ID(), *meta);
109 meta->setName( "bind_shape_matrix" );
110 meta->registerClass(domSkin::domBind_shape_matrix::create);
112 meta->setIsInnerClass( true );
119 ma->setContainer( meta );
120 meta->appendAttribute(ma);
123 meta->setElementSize(sizeof(domSkin::domBind_shape_matrix));
124 meta->validate();
126 return meta;
140 daeMetaElement* meta = dae.getMeta(ID());
141 if ( meta != NULL ) return meta;
143 meta = new daeMetaElement(dae);
144 dae.setMeta(ID(), *meta);
145 meta->setName( "joints" );
146 meta->registerClass(domSkin::domJoints::create);
148 meta->setIsInnerClass( true );
151 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
153 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 2, -1 );
159 mea = new daeMetaElementArrayAttribute( meta, cm, 1, 0, -1 );
166 meta->setCMRoot( cm );
168 meta->setElementSize(sizeof(domSkin::domJoints));
169 meta->validate();
171 return meta;
185 daeMetaElement* meta = dae.getMeta(ID());
186 if ( meta != NULL ) return meta;
188 meta = new daeMetaElement(dae);
189 dae.setMeta(ID(), *meta);
190 meta->setName( "vertex_weights" );
191 meta->registerClass(domSkin::domVertex_weights::create);
193 meta->setIsInnerClass( true );
196 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
198 mea = new daeMetaElementArrayAttribute( meta, cm, 0, 2, -1 );
204 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
210 mea = new daeMetaElementAttribute( meta, cm, 2, 0, 1 );
216 mea = new daeMetaElementArrayAttribute( meta, cm, 3, 0, -1 );
223 meta->setCMRoot( cm );
231 ma->setContainer( meta );
234 meta->appendAttribute(ma);
237 meta->setElementSize(sizeof(domSkin::domVertex_weights));
238 meta->validate();
240 return meta;
254 daeMetaElement* meta = dae.getMeta(ID());
255 if ( meta != NULL ) return meta;
257 meta = new daeMetaElement(dae);
258 dae.setMeta(ID(), *meta);
259 meta->setName( "vcount" );
260 meta->registerClass(domSkin::domVertex_weights::domVcount::create);
262 meta->setIsInnerClass( true );
269 ma->setContainer( meta );
270 meta->appendAttribute(ma);
273 meta->setElementSize(sizeof(domSkin::domVertex_weights::domVcount));
274 meta->validate();
276 return meta;
290 daeMetaElement* meta = dae.getMeta(ID());
291 if ( meta != NULL ) return meta;
293 meta = new daeMetaElement(dae);
294 dae.setMeta(ID(), *meta);
295 meta->setName( "v" );
296 meta->registerClass(domSkin::domVertex_weights::domV::create);
298 meta->setIsInnerClass( true );
305 ma->setContainer( meta );
306 meta->appendAttribute(ma);
309 meta->setElementSize(sizeof(domSkin::domVertex_weights::domV));
310 meta->validate();
312 return meta;