CPKRenderOptions Class Reference

#include <cpk_render_options.hh>

Inherits ost::gfx::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

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 6 Dec 2017 for OpenStructure by  doxygen 1.6.1