12 #ifndef __GEO_PartRender_h__
13 #define __GEO_PartRender_h__
34 #define GEO_PART_MOTIONBLUR 0x0001
35 #define GEO_PART_VIRTUAL 0x0004
47 bool saveH9(std::ostream &os,
bool binary)
const;
54 myBlurTime = src.myBlurTime;
61 return myFlag == src.myFlag
62 && SYSisEqual(mySize, src.mySize, tol)
63 && SYSisEqual(myBlurTime, src.myBlurTime, tol)
64 && myType == src.myType;
77 void setSize(
float radius) { mySize = radius; }
102 const char *getTypeName()
const;
103 void setTypeName(
const char *
type);
#define GEO_PART_MOTIONBLUR
Particles are motion blurred.
void setVirtual(int onOff)
const GLuint GLenum const void * binary
GEO_PART_TYPE getType() const
void setBlurTime(float bt)
void setSize(float radius)
bool isEqual(const GEO_PartRender &src, fpreal tol=SYS_FTOLERANCE) const
GEO_PART_TYPE
Geometry type to use when rendering particles.
JSON reader class which handles parsing of JSON or bJSON files.
void setMotionBlur(int onOff)
Class which writes ASCII or binary JSON streams.
GLubyte GLubyte GLubyte GLubyte w
GEO_PartRender & operator=(const GEO_PartRender &src)
bool operator==(const GEO_PartRender &src) const
Class to store JSON objects as C++ objects.
#define GEO_PART_VIRTUAL
Particles not to be rendered.
float getBlurTime() const
Render as oriented circles.
void setType(GEO_PART_TYPE t)