Surface Class Reference
#include <surface.hh>
Inherits ost::gfx::GfxObj.
Public Member Functions |
| Surface (const String &name, const mol::SurfaceHandle &sh) |
virtual void | OnRenderModeChange () |
virtual void | CustomRenderGL (RenderPass pass) |
virtual void | CustomRenderPov (PovState &pov) |
virtual geom::AlignedCuboid | GetBoundingBox (bool use_global=false) const |
mol::SurfaceHandle | GetHandle () const |
void | Rebuild () |
void | Replace (const mol::SurfaceHandle &sh) |
void | SetColor (const Color &col, const String &selection=String("")) |
virtual void | ColorBy (const mol::EntityView &ev, const String &prop, const Gradient &g, float minv, float maxv) |
virtual void | ColorBy (const img::MapHandle &mh, const String &prop, const Gradient &g, float minv, float maxv) |
void | ColorBy (const String &prop, const Gradient &gradient, float minv, float maxv, mol::Prop::Level hint=mol::Prop::UNSPECIFIED) |
void | ColorBy (const String &prop, const Gradient &gradient, mol::Prop::Level hint=mol::Prop::UNSPECIFIED) |
void | ColorBy (const String &prop, const Color &c1, const Color &c2, float min, float max, mol::Prop::Level hint=mol::Prop::UNSPECIFIED) |
void | ColorBy (const String &prop, const Color &c1, const Color &c2, mol::Prop::Level hint=mol::Prop::UNSPECIFIED) |
void | Apply (const gfx::UniformColorOp &op, bool store=true) |
void | Apply (const gfx::BasicGradientColorOp &op, bool store=true) |
void | Apply (const gfx::GradientLevelColorOp &op, bool store=true) |
void | Apply (const gfx::EntityViewColorOp &op, bool store=true) |
void | Apply (const gfx::MapHandleColorOp &op, bool store=true) |
void | CleanColorOps () |
void | ReapplyColorOps () |
Protected Member Functions |
virtual void | CustomPreRenderGL (bool flag) |
Detailed Description
Definition at line 49 of file surface.hh.
Constructor & Destructor Documentation
Member Function Documentation
color based on image
Reimplemented from GfxObj.
color each component based on the gradient-mapped property of the given entity
Reimplemented from GfxObj.
virtual void CustomPreRenderGL |
( |
bool |
flag |
) |
[protected, virtual] |
virtual void CustomRenderGL |
( |
RenderPass |
pass |
) |
[virtual] |
virtual void CustomRenderPov |
( |
PovState & |
pov |
) |
[virtual] |
returns the bounding box of this object
The bounding box, i.e. the left-bottom-front and the right-top-back corner of the object, is obtained with this method. The single boolean parameter denotes whether to return local coordinates or global scene coordinates; global scene coordinates are local coordinates with the object's transformation (if present) applied. The default is false, i.e. return local coordinates.
Reimplemented from GfxObj.
virtual void OnRenderModeChange |
( |
|
) |
[virtual] |
The documentation for this class was generated from the following file: