|
| const char * | Class () override |
| |
|
| rPoint (const GeoInfo *info, const Primitive *p, Point::RenderMode mode, float r) |
| |
|
| rPoint (const GeoInfo *info, const Primitive *p, int mode, float r) |
| |
|
| rPoint (const GeoInfo *info, const Primitive *p, Point::RenderMode mode, const Vector4 &color, float r) |
| |
|
| rPoint (const GeoInfo *info, const Primitive *p, int mode, const Vector4 &color, float r) |
| |
|
| rPoint (const rPoint &) |
| |
| bool | add_to_render (Scene *, PrimitiveContext *) override |
| |
| bool | intersect (float x, float y) const override |
| |
| bool | intersect (float x, float y, float *dist) const override |
| |
| bool | intersect_dist_squared (float x, float y, float *dist_squared) const override |
| |
| bool | intersect_scanline (float y, int &X, int &R, VArray &out, VArray &du, VArray &dv) const override |
| |
| rPrimitiveType | getPrimitiveType () const override |
| |
| float | trace (Scene *) override |
| |
| float | distance (float x, float y) const override |
| |
| float | distance_squared (float x, float y) const override |
| |
|
virtual const char * | Class () |
| |
|
| rPrimitive (const GeoInfo *info, const Primitive *p) |
| |
| | rPrimitive (const rPrimitive &) |
| |
| virtual | ~rPrimitive () |
| |
|
virtual rPrimitive * | duplicate () const |
| |
|
const GeoInfo * | geoinfo () const |
| |
|
const Primitive * | parent () const |
| |
|
bool | cast_shadows () const |
| |
|
bool | receive_shadows () const |
| |
| virtual bool | add_to_render (Scene *, PrimitiveContext *)=0 |
| |
| virtual bool | add_to_displacement_render (Scene *, PrimitiveContext *) |
| |
| virtual bool | intersect (float x, float y) const =0 |
| |
| virtual bool | intersect (float x, float y, float *dist) const =0 |
| |
| virtual bool | intersect_dist_squared (float x, float y, float *dist_squared) const =0 |
| |
| virtual bool | intersect_scanline (float y, int &X, int &R, VArray &v0, VArray &du, VArray &dv) const =0 |
| |
| virtual float | trace (Scene *)=0 |
| |
| virtual float | distance (float x, float y) const =0 |
| |
| virtual float | distance_squared (float x, float y) const =0 |
| |
|
virtual void | subdivide (std::vector< rPrimitive * > &primitives, SubdivisionContext *stx) |
| |
| virtual rPrimitiveType | getPrimitiveType () const |
| |
|
void * | operator new (size_t size) |
| |
|
void | operator delete (void *mem) |
| |
|
void * | operator new[] (size_t size) |
| |
|
void | operator delete[] (void *mem) |
| |
|
| Box3 (float x, float y, float z) |
| |
|
| Box3 (const Vector3 p) |
| |
|
| Box3 (const Vector3 p1, const Vector3 p2) |
| |
|
const Vector3 & | min () const |
| |
|
const Vector3 & | max () const |
| |
|
float | x () const |
| |
|
float | y () const |
| |
|
float | n () const |
| | near, min z
|
| |
|
float | r () const |
| | right, max x
|
| |
|
float | t () const |
| | top, max y
|
| |
|
float | f () const |
| | far, max z
|
| |
|
float | w () const |
| | width
|
| |
|
float | h () const |
| | height
|
| |
|
float | d () const |
| | depth
|
| |
|
Vector3 | center () const |
| |
|
float | radius () const |
| |
|
void | set (float x, float y, float z, float r, float t, float f) |
| |
|
void | set (Vector3 p1, Vector3 p2) |
| |
|
void | set (const Box3 &v) |
| |
|
void | set_min (float x, float y, float z) |
| |
|
void | set_max (float x, float y, float z) |
| |
| bool | empty () const |
| |
|
void | clear () |
| |
| bool | inside (const Vector3 &p) const |
| |
| void | expand (const Box3 &v) |
| |
| void | expand (const Vector3 &p) |
| |
|
void | intersect (const Box3 &v) |
| |
| void | transform (const Matrix4 &m) |
| |
| void | project (const Matrix4 &m, Box &bbox) const |
| |
|
void | append (Hash &h) const |
| |
|
void | print_info (const char *title=nullptr) const |
| |
Renderable point primitive.