public |
Inheritance Graph
graph BT
PolygonOffsetParameters
click PolygonOffsetParameters "classRendering_1_1PolygonOffsetParameters"
Description
Parameters of the polygon offset settings.
Abstraction layer class for polygon offsets. The OpenGL functions working with the polygon offset are encapsulated inside.
Author: Benjamin Eikel
Date: 2012-02-14
Public Functions
PolygonOffsetParameters() | |
PolygonOffsetParameters(float newFactor, float newUnits) | |
bool | operator==(const PolygonOffsetParameters & other) const Return true if the whole set of parameters isequalto theotherset. |
bool | operator!=(const PolygonOffsetParameters & other) const Return true if the whole set of parameters isunequalto theotherset. |
bool | isEnabled() const |
void | enable() |
void | disable() |
float | getFactor() const |
void | setFactor(float newFactor) |
float | getUnits() const |
void | setUnits(float newUnits) |
Documentation
function
Rendering::PolygonOffsetParameters::PolygonOffsetParameters
public | inline | explicit |
PolygonOffsetParameters( | ) |
Create PolygonOffsetParameters representing an disabled state.
See also: Parameter GL_POLYGON_OFFSET_FILL of glDisable
Defined in Rendering/RenderingContext/RenderingParameters.h:816
function
Rendering::PolygonOffsetParameters::PolygonOffsetParameters
public | inline | explicit |
PolygonOffsetParameters( | float | newFactor, |
float | newUnits | |
) |
Create PolygonOffsetParameters with given values representing an enabled state.
See also: Parameter GL_POLYGON_OFFSET_FILL of glEnable
Defined in Rendering/RenderingContext/RenderingParameters.h:824
function
Rendering::PolygonOffsetParameters::operator==
public | const | inline |
bool operator==( | const PolygonOffsetParameters & | other ) const |
Returntrue
if the whole set of parameters isequalto theotherset.
Defined in Rendering/RenderingContext/RenderingParameters.h:828
function
Rendering::PolygonOffsetParameters::operator!=
public | const | inline |
bool operator!=( | const PolygonOffsetParameters & | other ) const |
Returntrue
if the whole set of parameters isunequalto theotherset.
Defined in Rendering/RenderingContext/RenderingParameters.h:832
function
Rendering::PolygonOffsetParameters::isEnabled
public | const | inline |
bool isEnabled( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:836
function
Rendering::PolygonOffsetParameters::enable
public | inline |
void enable( | ) |
Defined in Rendering/RenderingContext/RenderingParameters.h:839
function
Rendering::PolygonOffsetParameters::disable
public | inline |
void disable( | ) |
Defined in Rendering/RenderingContext/RenderingParameters.h:842
function
Rendering::PolygonOffsetParameters::getFactor
public | const | inline |
float getFactor( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:846
function
Rendering::PolygonOffsetParameters::setFactor
public | inline |
void setFactor( | float | newFactor ) |
See also: Parameter factor of glPolygonOffset
Defined in Rendering/RenderingContext/RenderingParameters.h:850
function
Rendering::PolygonOffsetParameters::getUnits
public | const | inline |
float getUnits( | ) const |
Defined in Rendering/RenderingContext/RenderingParameters.h:854
function
Rendering::PolygonOffsetParameters::setUnits
public | inline |
void setUnits( | float | newUnits ) |
See also: Parameter units of glPolygonOffset
Defined in Rendering/RenderingContext/RenderingParameters.h:858