model_server/gra/src/graSymbol.h.cxx
//------------------------------------------
// Constructor graParametricSymbol
//
// This constructor creates a new parametric symbol. These symbols
// are inserted into a graWorld to be visualized and reacted with.
//------------------------------------------
Constructor graParametricSymbol
This constructor creates a new parametric symbol. These symbols
are inserted into a graWorld to be visualized and reacted with.
Constructor graParametricSymbol This constructor creates a new parametric symbol . These symbols are inserted into a graWorld to be visualized and reacted with .
graParametricSymbol::graParametricSymbol(int symbol, int layers)
: viewnode(NULL), bottom_line(NULL), false_bottom1(NULL),
  false_bottom2(NULL), text_focus(0)
{
    int i;
    this->symbol = symbol;
    this->layers = (graSymbolModes) layers;
    this->popup_menu = NULL;
    for (i = 0; i < GRA_MAX_MODES; i++)
	param_overlay[i] = NULL;
    text_mode = graTextModeRight;
    text_width = text_height = 0;
    char_marker = 0;
    editbuffer = NULL;
    buffer = NULL;
    set_layers (layers);
    modified_token = NULL;
    modification_start = modification_end = -1;
}
graParametricSymbol :: graParametricSymbol ( int symbol , int layers ) : viewnode ( NULL ) , bottom_line ( NULL ) , false_bottom1 ( NULL ) , false_bottom2 ( NULL ) , text_focus ( 0 ) { int i ; this -> symbol = symbol ; this -> layers = ( graSymbolModes ) layers ; this -> popup_menu = NULL ; for ( i = 0 ; i < GRA_MAX_MODES ; i ++ ) param_overlay [ i ] = NULL ; text_mode = graTextModeRight ; text_width = text_height = 0 ; char_marker = 0 ; editbuffer = NULL ; buffer = NULL ; set_layers ( layers ) ; modified_token = NULL ; modification_start = modification_end = -1 ; }
Constructor graParametricSymbol
This constructor creates a new parametric symbol.
Constructor graParametricSymbol This constructor creates a new parametric symbol .