ATLAS Offline Software
Loading...
Searching...
No Matches
SoOutlineColour Class Reference

#include <SoOutlineColour.h>

Inheritance diagram for SoOutlineColour:
Collaboration diagram for SoOutlineColour:

Public Member Functions

 SoOutlineColour ()

Static Public Member Functions

static void initClass ()
static bool get (SoState *, SbColor &)

Public Attributes

SoSFColor colour
SoSFBool enabled

Protected Member Functions

 ~SoOutlineColour () override=default
void GLRender (SoGLRenderAction *) override

Private Member Functions

 SO_NODE_HEADER (SoOutlineColour)

Detailed Description

Definition at line 15 of file SoOutlineColour.h.

Constructor & Destructor Documentation

◆ SoOutlineColour()

SoOutlineColour::SoOutlineColour ( )

Definition at line 63 of file SoOutlineColour.cxx.

64{
65 SO_NODE_CONSTRUCTOR(SoOutlineColour);
66 SO_NODE_ADD_FIELD(colour, (1.0f, 1.0f, 1.0f));
67 SO_NODE_ADD_FIELD(enabled, (TRUE));
68}

◆ ~SoOutlineColour()

SoOutlineColour::~SoOutlineColour ( )
overrideprotecteddefault

Member Function Documentation

◆ get()

bool SoOutlineColour::get ( SoState * state,
SbColor & colour )
static

Definition at line 75 of file SoOutlineColour.cxx.

76{
77 return OutlineColourElement::get(state, colour);
78}

◆ GLRender()

void SoOutlineColour::GLRender ( SoGLRenderAction * action)
overrideprotected

Definition at line 70 of file SoOutlineColour.cxx.

71{
72 OutlineColourElement::set(action->getState(), colour.getValue(), enabled.getValue());
73}

◆ initClass()

void SoOutlineColour::initClass ( )
static

Definition at line 52 of file SoOutlineColour.cxx.

53{
54 static const bool initialized = [] {
55 OutlineColourElement::initClass();
56 SO_NODE_INIT_CLASS(SoOutlineColour, SoNode, "Node");
57 SO_ENABLE(SoGLRenderAction, OutlineColourElement);
58 return true;
59 }();
60 (void)initialized;
61}

◆ SO_NODE_HEADER()

SoOutlineColour::SO_NODE_HEADER ( SoOutlineColour )
private

Member Data Documentation

◆ colour

SoSFColor SoOutlineColour::colour

Definition at line 20 of file SoOutlineColour.h.

◆ enabled

SoSFBool SoOutlineColour::enabled

Definition at line 21 of file SoOutlineColour.h.


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