SoLineWidthElement - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin

NAMESoLineWidthElement − The SoLineWidthElement class changes the linewidth setting of the render state​.

SYNOPSIS
#include <Inventor/elements/SoLineWidthElement​.h> Inherits SoFloatElement​. Inherited by SoGLLineWidthElement​.

Public Member Functionsvirtual void init (SoState *state)

Static Public Member Functionsstatic SoType getClassTypeId (void)
static int getClassStackIndex (void)
static void * createInstance (void)
static void initClass (void)
static void set (SoState *const state, SoNode *const node, const float lineWidth)
static void set (SoState *const state, const float lineWidth)
static float get (SoState *const state)
static float getDefault ()

Protected Member Functionsvirtual ~SoLineWidthElement ()

Additional Inherited Members

Detailed DescriptionThe SoLineWidthElement class changes the linewidth setting of the render state​. Requests from the scenegraph to change the linewidth when rendering line primitives will be made through this element, which forwards it to the appropriate native call in the underlying rendering library​. Subsequent nodes rendering line primitives will use the width setting (for instance SoLineSet nodes)​.

Constructor & Destructor Documentation

SoLineWidthElement::~SoLineWidthElement () [protected], [virtual]Destructor​.

Member Function Documentation

void * SoLineWidthElement::createInstance (void) [static]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer​.


void SoLineWidthElement::init (SoState * state) [virtual]This function initializes the element type in the given SoState​. It is called for the first element of each enabled element type in SoState objects​. Reimplemented from SoFloatElement​. Reimplemented in SoGLLineWidthElement​. References SoFloatElement::data, getDefault(), and SoFloatElement::init()​. Referenced by SoGLLineWidthElement::init()​.

void SoLineWidthElement::set (SoState *const state, SoNode *const node, const float lineWidth) [static]Set up the current state's lineWidth value​. References SoFloatElement::set()​. Referenced by SoDrawStyle::doAction(), and set()​.

void SoLineWidthElement::set (SoState *const state, const float lineWidth) [static]Set up the current state's lineWidth value​. References set()​.

float SoLineWidthElement::get (SoState *const state) [static]Returns the current line width value​. References SoFloatElement::get()​. Referenced by SoCallbackAction::getLineWidth()​.

float SoLineWidthElement::getDefault (void) [static]Returns the default linewidth value if no value has been set explicitly​. Referenced by init()​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   16,137 byte
man-SoLineWidthElement.3coin2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 182,727
Visitor ID   :     :  
Visitor IP   :   3.147.205.114   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.