15 #ifndef COLLADAPRIMITIVE_H
16 #define COLLADAPRIMITIVE_H
18 #include "config_collada.h"
19 #include "referenceCount.h"
20 #include "geomVertexData.h"
22 #include "geomPrimitive.h"
24 #include "colladaInput.h"
52 INLINE PT(
Geom) get_geom()
const;
53 INLINE
const string &get_material()
const;
57 void load_primitive(domP &p);
71 #include "colladaPrimitive.I"
This is an abstract base class for a family of classes that represent the fundamental geometry primit...
This defines the actual numeric vertex data stored in a Geom, in the structure defined by a particula...
A container for geometry primitives.
static ColladaPrimitive * from_dom(domLines &lines)
Returns the ColladaPrimitive object that represents the provided DOM input element.
A base class for all things that want to be reference-counted.
Class that deals with COLLADA primitive structures, such as <triangles> and <polylist>.
unsigned int write_data(GeomVertexData *vdata, int start_row, domP &p)
Writes the vertex data to the GeomVertexData.