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
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.
const GLuint GLenum const void * binary
GEO_PART_TYPE getType() const
void setBlurTime(float bt)
void setMotionBlur(int on_off)
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.
Class which writes ASCII or binary JSON streams.
GEO_PartRender & operator=(const GEO_PartRender &src)
bool operator==(const GEO_PartRender &src) const
Class to store JSON objects as C++ objects.
void setVirtual(int on_off)
#define GEO_PART_VIRTUAL
Particles not to be rendered.
GLubyte GLubyte GLubyte GLubyte w
float getBlurTime() const
bool SYSisEqual(const UT_Vector2T< T > &a, const UT_Vector2T< T > &b, S tol=SYS_FTOLERANCE)
Componentwise equality.
Render as oriented circles.
void setType(GEO_PART_TYPE t)