public

Inheritance Graph

graph BT
	LineParameters
	click LineParameters "classRendering_1_1LineParameters"

Description

Parameters of rasterized lines.

Abstraction layer class for the line rasterization configuration. The OpenGL functions working with the line rasterization settings are encapsulated inside.

Author: Benjamin Eikel

Date: 2012-05-07

See also: glLineWidth

Public Functions

   
   
  LineParameters()
Create LineParameters representing the default OpenGL state.
   
  LineParameters(float lineWidth)
Create LineParameters with the given values.
   
bool operator!=(const LineParameters & other) const
   
bool operator==(const LineParameters & other) const
   
float getWidth() const
   
void setWidth(float lineWidth)

Documentation

function
Rendering::LineParameters::LineParameters

public inline
   
   
LineParameters( )

Create LineParameters representing the default OpenGL state.

Defined in Rendering/RenderingContext/RenderingParameters.h:620


function
Rendering::LineParameters::LineParameters

public inline
     
     
LineParameters( float lineWidth )

Create LineParameters with the given values.

Defined in Rendering/RenderingContext/RenderingParameters.h:622


function
Rendering::LineParameters::operator!=

public const inline
     
     
bool operator!=( const LineParameters & other ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:623


function
Rendering::LineParameters::operator==

public const inline
     
     
bool operator==( const LineParameters & other ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:626


function
Rendering::LineParameters::getWidth

public const inline
   
   
float getWidth( ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:629


function
Rendering::LineParameters::setWidth

public inline
     
     
void setWidth( float lineWidth )

Defined in Rendering/RenderingContext/RenderingParameters.h:632