OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
CPKRenderOptions Class Reference

#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 ()

Detailed Description

Definition at line 35 of file cpk_render_options.hh.


Constructor & Destructor Documentation


Member Function Documentation

virtual void ApplyRenderOptions ( RenderOptionsPtr  render_options)
virtual

Implements RenderOptions.

virtual bool CanApplyRenderOptions ( RenderOptionsPtr  render_options)
virtual

Implements RenderOptions.

float GetRadiusMult ( ) const
virtual RenderMode::Type GetRenderMode ( )
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)


The documentation for this class was generated from the following file: