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 
11 {
12 public:
13  size_t Identifier() const;
14  unsigned int RequiredSamples() const;
16  const MiscLib::Vector< Vec3f >& normals) const;
17  PrimitiveShape* Construct(const MiscLib::Vector< Vec3f >& samples) const;
18  PrimitiveShape* Deserialize(std::istream* i, bool binary = true) const;
19  size_t SerializedSize() const;
20 };
21 
22 #endif
23 
PrimitiveShapeConstructor.h
PrimitiveShapeConstructor::Identifier
virtual size_t Identifier() const =0
PrimitiveShape
PrimtiveShape is a shape primitive in conjunction with a parametrization.
Definition: PrimitiveShape.h:32
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:22
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:11