xsi_hairprimitive.h
Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSIHAIRPRIMITIVE_H__
00018 #define __XSIHAIRPRIMITIVE_H__
00019 
00020 #include <xsi_primitive.h>
00021 #include <xsi_renderhairaccessor.h>
00022 #include <xsi_status.h>
00023 
00024 namespace XSI {
00025 
00026 //*****************************************************************************
00060 //*****************************************************************************
00061 
00062 class SICPPSDKDECL HairPrimitive : public Primitive
00063 {
00064 public:
00066     HairPrimitive();
00067 
00069     ~HairPrimitive();
00070 
00074     HairPrimitive(const CRef& in_ref);
00075 
00079     HairPrimitive(const HairPrimitive& in_obj);
00080 
00085     bool IsA( siClassID in_ClassID) const;
00086 
00090     siClassID GetClassID() const;
00091 
00097     HairPrimitive& operator=(const HairPrimitive& in_obj);
00098 
00104     HairPrimitive& operator=(const CRef& in_ref);
00105 
00121     CRenderHairAccessor GetRenderHairAccessor(
00122         LONG in_nRequestedHairCount,
00123         LONG in_nChunksize = 10000,
00124         double in_time = DBL_MAX ) const;
00125 
00126     private:
00127     HairPrimitive * operator&() const;
00128     HairPrimitive * operator&();
00129 };
00130 
00131 };
00132 #endif // __XSIHAIRPRIMITIVE_H__