Inviwo 0.9.12-pre
Inviwo documentation
 
Loading...
Searching...
No Matches
inviwo::StipplingSettings Class Reference

Basic implementation of the StipplingSettingsInterface. More...

#include <stipplingsettings.h>

+ Inheritance diagram for inviwo::StipplingSettings:

Public Member Functions

 StipplingSettings (const StipplingSettingsInterface *other)
 
virtual StipplingSettingsInterface::Mode getMode () const override
 
virtual float getLength () const override
 
virtual float getSpacing () const override
 
virtual float getOffset () const override
 
virtual float getWorldScale () const override
 

Public Attributes

Mode mode = Mode::None
 
float length = 20.f
 refers to the length of one dash
 
float spacing = 10.f
 spacing between two dashes
 
float offset = 0.f
 offset for shifting the stipple pattern
 
float worldScale = 4.f
 

Additional Inherited Members

- Public Types inherited from inviwo::StipplingSettingsInterface
enum class  Mode { None , ScreenSpace , WorldSpace }
 

Detailed Description

Basic implementation of the StipplingSettingsInterface.

Member Function Documentation

◆ getLength()

virtual float inviwo::StipplingSettings::getLength ( ) const
overridevirtual

◆ getMode()

virtual StipplingSettingsInterface::Mode inviwo::StipplingSettings::getMode ( ) const
overridevirtual

◆ getOffset()

virtual float inviwo::StipplingSettings::getOffset ( ) const
overridevirtual

◆ getSpacing()

virtual float inviwo::StipplingSettings::getSpacing ( ) const
overridevirtual

◆ getWorldScale()

virtual float inviwo::StipplingSettings::getWorldScale ( ) const
overridevirtual

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