MeVisLab Toolbox Reference
LegendItem Class Reference

class holds legend item information More...

#include <SoView2DLegend.h>

Public Member Functions

 LegendItem ()
 defaut constructor
 
 LegendItem (const LegendItem &li)
 copy constructor
 
const LegendItemoperator= (const LegendItem &li)
 assignemt operator
 

Public Attributes

SbColor color
 color
 
float line_width
 line width
 
unsigned short stipple
 line stipple
 
SbString text
 text as a string
 

Detailed Description

class holds legend item information

Definition at line 38 of file SoView2DLegend.h.

Constructor & Destructor Documentation

◆ LegendItem() [1/2]

LegendItem::LegendItem ( )
inline

defaut constructor

Definition at line 42 of file SoView2DLegend.h.

References color, line_width, mlrange_cast(), and stipple.

◆ LegendItem() [2/2]

LegendItem::LegendItem ( const LegendItem & li)
inline

copy constructor

Definition at line 48 of file SoView2DLegend.h.

References mlrange_cast().

Member Function Documentation

◆ operator=()

const LegendItem & LegendItem::operator= ( const LegendItem & li)
inline

assignemt operator

Definition at line 51 of file SoView2DLegend.h.

References color, line_width, mlrange_cast(), stipple, and text.

Member Data Documentation

◆ color

SbColor LegendItem::color

color

Definition at line 61 of file SoView2DLegend.h.

Referenced by LegendItem(), and operator=().

◆ line_width

float LegendItem::line_width

line width

Definition at line 63 of file SoView2DLegend.h.

Referenced by LegendItem(), and operator=().

◆ stipple

unsigned short LegendItem::stipple

line stipple

Definition at line 65 of file SoView2DLegend.h.

Referenced by LegendItem(), and operator=().

◆ text

SbString LegendItem::text

text as a string

Definition at line 67 of file SoView2DLegend.h.

Referenced by operator=().


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