OpenStructure
|
#include <cpk_render_options.hh>
Inherits RenderOptions.
Public Member Functions | |
CPKRenderOptions () | |
virtual RenderMode::Type | GetRenderMode () |
virtual bool | CanApplyRenderOptions (RenderOptionsPtr render_options) |
virtual void | ApplyRenderOptions (RenderOptionsPtr render_options) |
void | SetSphereDetail (uint detail) |
uint | GetSphereDetail () |
void | SetSphereMode (uint mode) |
uint | GetSphereMode () |
void | SetRadiusMult (float m) |
float | GetRadiusMult () const |
Public Member Functions inherited from RenderOptions | |
RenderOptions () | |
virtual | ~RenderOptions () |
bool | AddObserver (EntityP entity) |
bool | RemoveObserver (EntityP entity) |
void | NotifyStateChange () |
Definition at line 35 of file cpk_render_options.hh.
CPKRenderOptions | ( | ) |
|
virtual |
Implements RenderOptions.
|
virtual |
Implements RenderOptions.
float GetRadiusMult | ( | ) | const |
|
virtual |
Implements RenderOptions.
uint GetSphereDetail | ( | ) |
uint GetSphereMode | ( | ) |
void SetRadiusMult | ( | float | m | ) |
Radius multiplier, default=1.0.
void SetSphereDetail | ( | uint | detail | ) |
number of arc subdivisions per pi/2
void SetSphereMode | ( | uint | mode | ) |
0 = triangulated spheres, 1 = fast 3D sprites (default)