OpenStructure
Public Member Functions
CartoonRenderOptions Class Reference

#include <cartoon_render_options.hh>

Inherits RenderOptions.

Public Member Functions

 CartoonRenderOptions (bool force_tube=false)
 
virtual RenderMode::Type GetRenderMode ()
 
virtual bool CanApplyRenderOptions (RenderOptionsPtr render_options)
 
virtual void ApplyRenderOptions (RenderOptionsPtr render_options)
 
void SetPolyMode (uint poly_mode)
 
uint GetPolyMode () const
 
void SetSplineDetail (uint spline_detail)
 
uint GetSplineDetail () const
 
void SetArcDetail (uint arc_detail)
 
uint GetArcDetail () const
 
void SetNormalSmoothFactor (float smooth_factor)
 
float GetNormalSmoothFactor () const
 
void SetTubeRadius (float tube_radius)
 
float GetTubeRadius () const
 
void SetTubeRatio (float tube_ratio)
 
float GetTubeRatio () const
 
unsigned int GetTubeProfileType () const
 
void SetTubeProfileType (unsigned int)
 
void SetHelixWidth (float helix_width)
 
float GetHelixWidth () const
 
void SetHelixThickness (float helix_thickness)
 
float GetHelixThickness () const
 
void SetHelixEcc (float helix_ecc)
 
float GetHelixEcc () const
 
void SetHelixProfileType (unsigned int)
 
unsigned int GetHelixProfileType () const
 
unsigned int GetHelixMode () const
 
void SetHelixMode (unsigned int)
 
void SetStrandWidth (float strand_width)
 
float GetStrandWidth () const
 
void SetStrandThickness (float strand_thickness)
 
float GetStrandThickness () const
 
void SetStrandEcc (float strand_ecc)
 
float GetStrandEcc () const
 
void SetStrandProfileType (unsigned int)
 
unsigned int GetStrandProfileType () const
 
void SetStrandMode (unsigned int)
 
unsigned int GetStrandMode () const
 
void SetColorBlendMode (unsigned int)
 
unsigned int GetColorBlendMode () const
 
void SetTwistHack (bool)
 
bool GetTwistHack () const
 
float GetMaxRad () 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 34 of file cartoon_render_options.hh.

Constructor & Destructor Documentation

◆ CartoonRenderOptions()

CartoonRenderOptions ( bool  force_tube = false)

Member Function Documentation

◆ ApplyRenderOptions()

virtual void ApplyRenderOptions ( RenderOptionsPtr  render_options)
virtual

Implements RenderOptions.

◆ CanApplyRenderOptions()

virtual bool CanApplyRenderOptions ( RenderOptionsPtr  render_options)
virtual

Implements RenderOptions.

◆ GetArcDetail()

uint GetArcDetail ( ) const

◆ GetColorBlendMode()

unsigned int GetColorBlendMode ( ) const

◆ GetHelixEcc()

float GetHelixEcc ( ) const

◆ GetHelixMode()

unsigned int GetHelixMode ( ) const

0=normal 1=straight cylinders

◆ GetHelixProfileType()

unsigned int GetHelixProfileType ( ) const

◆ GetHelixThickness()

float GetHelixThickness ( ) const

◆ GetHelixWidth()

float GetHelixWidth ( ) const

◆ GetMaxRad()

float GetMaxRad ( ) const

◆ GetNormalSmoothFactor()

float GetNormalSmoothFactor ( ) const

◆ GetPolyMode()

uint GetPolyMode ( ) const

◆ GetRenderMode()

virtual RenderMode::Type GetRenderMode ( )
virtual

Implements RenderOptions.

◆ GetSplineDetail()

uint GetSplineDetail ( ) const

◆ GetStrandEcc()

float GetStrandEcc ( ) const

◆ GetStrandMode()

unsigned int GetStrandMode ( ) const

◆ GetStrandProfileType()

unsigned int GetStrandProfileType ( ) const

◆ GetStrandThickness()

float GetStrandThickness ( ) const

◆ GetStrandWidth()

float GetStrandWidth ( ) const

◆ GetTubeProfileType()

unsigned int GetTubeProfileType ( ) const

◆ GetTubeRadius()

float GetTubeRadius ( ) const

◆ GetTubeRatio()

float GetTubeRatio ( ) const

◆ GetTwistHack()

bool GetTwistHack ( ) const
inline

Definition at line 105 of file cartoon_render_options.hh.

◆ SetArcDetail()

void SetArcDetail ( uint  arc_detail)

number of circular profile subdivisions per 90deg

◆ SetColorBlendMode()

void SetColorBlendMode ( unsigned int  )

0=smooth transition, 1=sharp transition

◆ SetHelixEcc()

void SetHelixEcc ( float  helix_ecc)

see helix profile

◆ SetHelixMode()

void SetHelixMode ( unsigned int  )

◆ SetHelixProfileType()

void SetHelixProfileType ( unsigned int  )

various ways to calculate circular profile with ecc

◆ SetHelixThickness()

void SetHelixThickness ( float  helix_thickness)

◆ SetHelixWidth()

void SetHelixWidth ( float  helix_width)

◆ SetNormalSmoothFactor()

void SetNormalSmoothFactor ( float  smooth_factor)

experimental

◆ SetPolyMode()

void SetPolyMode ( uint  poly_mode)

sets vertex array poly mode

◆ SetSplineDetail()

void SetSplineDetail ( uint  spline_detail)

number of smooth points between spline control points

◆ SetStrandEcc()

void SetStrandEcc ( float  strand_ecc)

see strand profile

◆ SetStrandMode()

void SetStrandMode ( unsigned int  )

0=normal, 1=straightened

◆ SetStrandProfileType()

void SetStrandProfileType ( unsigned int  )

various ways to calculate circular profile with ecc

◆ SetStrandThickness()

void SetStrandThickness ( float  strand_thickness)

◆ SetStrandWidth()

void SetStrandWidth ( float  strand_width)

◆ SetTubeProfileType()

void SetTubeProfileType ( unsigned int  )

◆ SetTubeRadius()

void SetTubeRadius ( float  tube_radius)

◆ SetTubeRatio()

void SetTubeRatio ( float  tube_ratio)

◆ SetTwistHack()

void SetTwistHack ( bool  )

experimental


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