ConePrimitiveShapeConstructor.h
Go to the documentation of this file.
1 #ifndef CONEPRIMITIVESHAPECONSTRUCTOR_HEADER
2 #define CONEPRIMITIVESHAPECONSTRUCTOR_HEADER
4 
5 #ifndef DLL_LINKAGE
6 #define DLL_LINKAGE
7 #endif
8 
10 {
11 public:
12  size_t Identifier() const;
13  unsigned int RequiredSamples() const;
15  const MiscLib::Vector<Vec3f>& normals) const;
16  PrimitiveShape* Construct(const MiscLib::Vector<Vec3f>& samples) const;
17  PrimitiveShape* Deserialize(std::istream* i, bool binary = true) const;
18  size_t SerializedSize() const;
19 };
20 
21 #endif
PrimitiveShapeConstructor.h
PrimitiveShapeConstructor::Identifier
virtual size_t Identifier() const =0
PrimitiveShape
PrimtiveShape is a shape primitive in conjunction with a parametrization.
Definition: PrimitiveShape.h:34
PrimitiveShapeConstructor::Deserialize
virtual PrimitiveShape * Deserialize(std::istream *i, bool binary=true) const =0
MiscLib::Vector
Definition: Vector.h:19
PrimitiveShapeConstructor::Construct
virtual PrimitiveShape * Construct(const MiscLib::Vector< Vec3f > &points, const MiscLib::Vector< Vec3f > &normals) const =0
PrimitiveShapeConstructor
Definition: PrimitiveShapeConstructor.h:24
PrimitiveShapeConstructor::SerializedSize
virtual size_t SerializedSize() const =0
PrimitiveShapeConstructor::RequiredSamples
virtual unsigned int RequiredSamples() const =0
ConePrimitiveShapeConstructor
Definition: ConePrimitiveShapeConstructor.h:9
DLL_LINKAGE
#define DLL_LINKAGE
Definition: basic.h:12