23 #ifndef OST_GFX_CARTOON_RENDER_OPTIONS_HH
24 #define OST_GFX_CARTOON_RENDER_OPTIONS_HH
26 #include <boost/shared_ptr.hpp>
32 namespace ost {
namespace gfx {
116 float smooth_factor_;
120 unsigned int tube_profile_;
122 float helix_thickness_;
124 unsigned int helix_profile_;
125 unsigned int helix_mode_;
127 float strand_thickness_;
129 unsigned int strand_profile_;
130 unsigned int strand_mode_;
132 unsigned int color_blend_mode_;
virtual bool CanApplyRenderOptions(RenderOptionsPtr render_options)
float GetStrandWidth() const
float GetHelixWidth() const
void SetStrandEcc(float strand_ecc)
see strand profile
void SetColorBlendMode(unsigned int)
0=smooth transition, 1=sharp transition
unsigned int GetStrandProfileType() const
void SetTubeRatio(float tube_ratio)
uint GetArcDetail() const
virtual void ApplyRenderOptions(RenderOptionsPtr render_options)
unsigned int GetHelixProfileType() const
void SetHelixWidth(float helix_width)
void SetPolyMode(uint poly_mode)
sets vertex array poly mode
unsigned int GetColorBlendMode() const
void SetStrandProfileType(unsigned int)
various ways to calculate circular profile with ecc
void SetStrandWidth(float strand_width)
void SetStrandMode(unsigned int)
0=normal, 1=straightened
float GetHelixEcc() const
uint GetSplineDetail() const
void SetNormalSmoothFactor(float smooth_factor)
experimental
float GetTubeRadius() const
float GetHelixThickness() const
bool GetTwistHack() const
void SetHelixMode(unsigned int)
void SetHelixThickness(float helix_thickness)
void SetTubeProfileType(unsigned int)
unsigned int GetTubeProfileType() const
virtual RenderMode::Type GetRenderMode()
void SetSplineDetail(uint spline_detail)
number of smooth points between spline control points
float GetTubeRatio() const
void SetHelixProfileType(unsigned int)
various ways to calculate circular profile with ecc
unsigned int GetStrandMode() const
unsigned int GetHelixMode() const
0=normal 1=straight cylinders
void SetHelixEcc(float helix_ecc)
see helix profile
CartoonRenderOptions(bool force_tube=false)
void SetArcDetail(uint arc_detail)
number of circular profile subdivisions per 90deg
float GetStrandEcc() const
float GetNormalSmoothFactor() const
void SetStrandThickness(float strand_thickness)
void SetTubeRadius(float tube_radius)
void SetTwistHack(bool)
experimental
float GetStrandThickness() const
#define DLLEXPORT_OST_GFX
boost::shared_ptr< CartoonRenderOptions > CartoonRenderOptionsPtr
boost::shared_ptr< RenderOptions > RenderOptionsPtr