OpenStructure
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

◆ CPKRenderOptions()

Member Function Documentation

◆ ApplyRenderOptions()

virtual void ApplyRenderOptions ( RenderOptionsPtr  render_options)
virtual

Implements RenderOptions.

◆ CanApplyRenderOptions()

virtual bool CanApplyRenderOptions ( RenderOptionsPtr  render_options)
virtual

Implements RenderOptions.

◆ GetRadiusMult()

float GetRadiusMult ( ) const

◆ GetRenderMode()

virtual RenderMode::Type GetRenderMode ( )
virtual

Implements RenderOptions.

◆ GetSphereDetail()

uint GetSphereDetail ( )

◆ GetSphereMode()

uint GetSphereMode ( )

◆ SetRadiusMult()

void SetRadiusMult ( float  m)

Radius multiplier, default=1.0.

◆ SetSphereDetail()

void SetSphereDetail ( uint  detail)

number of arc subdivisions per pi/2

◆ SetSphereMode()

void SetSphereMode ( uint  mode)

0 = triangulated spheres, 1 = fast 3D sprites (default)


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