Go to the documentation of this file.
21 for (
size_t i = 0; i < points.
size(); ++i)
25 for (
size_t i = 0; i < normals.
size(); ++i)
36 if (!torus.
Init(samples))
size_t SerializedSize() const
void push_back(const T &v)
PrimtiveShape is a shape primitive in conjunction with a parametrization.
unsigned int RequiredSamples() const
void Deserialize(std::istream *i, bool binary)
PrimitiveShape * Construct(const MiscLib::Vector< Vec3f > &points, const MiscLib::Vector< Vec3f > &normals) const
static size_t SerializedSize()
bool Init(const MiscLib::Vector< Vec3f > &samples)
class DLL_LINKAGE TorusPrimitiveShape
static size_t SerializedSize()
size_t Identifier() const
PrimitiveShape * Deserialize(std::istream *i, bool binary=true) const