CylinderPrimitiveShapeConstructor.h
Go to the documentation of this file.
1 #ifndef CYLINDERPRIMITIVESHAPECONSTRUCTOR_HEADER
2 #define CYLINDERPRIMITIVESHAPECONSTRUCTOR_HEADER
5 
6 #ifndef DLL_LINKAGE
7 #define DLL_LINKAGE
8 #endif
9 
12 {
13 public:
14  size_t Identifier() const;
15  unsigned int RequiredSamples() const;
17  const MiscLib::Vector< Vec3f >& normals) const;
18  PrimitiveShape* Construct(const MiscLib::Vector< Vec3f >& samples) const;
19  PrimitiveShape* Deserialize(std::istream* i, bool binary = true) const;
20  size_t SerializedSize() const;
21 };
22 
23 #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: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
CylinderPrimitiveShape.h
PrimitiveShapeConstructor::SerializedSize
virtual size_t SerializedSize() const =0
PrimitiveShapeConstructor::RequiredSamples
virtual unsigned int RequiredSamples() const =0
DLL_LINKAGE
#define DLL_LINKAGE
Definition: basic.h:11
CylinderPrimitiveShapeConstructor
Definition: CylinderPrimitiveShapeConstructor.h:10