35 #ifndef IECORE_SPHEREPRIMITIVE_H
36 #define IECORE_SPHEREPRIMITIVE_H
38 #include "IECore/Export.h"
39 #include "IECore/Primitive.h"
40 #include "IECore/VectorTypedData.h"
59 SpherePrimitive(
float radius,
float zMin = -1.0f,
float zMax = 1.0f,
float thetaMax = 360.0f );
71 float thetaMax()
const;
73 void setRadius(
float r );
74 void setZMin(
float zm );
75 void setZMax(
float zm );
78 void setThetaMax(
float tm );
85 Imath::Box3f bound()
const override;
87 void render(
Renderer *renderer )
const override;
89 void topologyHash(
MurmurHash &h )
const override;
93 static const unsigned int m_ioVersion;
106 #endif // IECORE_SPHEREPRIMITIVE
Definition: MurmurHash.h:64
Definition: Renderer.h:93
Interpolation
Definition: PrimitiveVariable.h:53
Definition: SpherePrimitive.h:47
Definition: Primitive.h:54
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43