MeVisLab Toolbox Reference
LegendItem Class Reference

class holds legend item information More...

#include <SoView2DLegend.h>

Public Member Functions

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

Public Attributes

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

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, and stipple.

◆ LegendItem() [2/2]

LegendItem::LegendItem ( const LegendItem li)
inline

copy constructor

Definition at line 48 of file SoView2DLegend.h.

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, 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: