VTK
|
#include "vtkFloatArray.h"
#include "vtkIdTypeArray.h"
#include "vtkPoints.h"
#include "vtkVRML.h"
#include "vtkVRMLImporter.h"
#include <cassert>
#include <cstdio>
#include <cstring>
#include <stdlib.h>
#include <list>
#include <unistd.h>
#include <string.h>
Go to the source code of this file.
Classes | |
class | vtkVRMLUseStruct |
class | VrmlNodeType |
struct | VrmlNodeType::NameTypeRec |
struct | VrmlNodeType::FieldRec |
class | vtkVRMLYaccData |
union | vtkVRMLYaccData::YYSTYPE |
struct | vtkVRMLYaccData::yyltype |
struct | vtkVRMLYaccData::yy_buffer_state |
class | vtkVRMLYaccData::FakeAlloca |
Macros | |
#define | YYBISON 1 /* Identify Bison output. */ |
#define | IDENTIFIER 258 |
#define | DEF 259 |
#define | USE 260 |
#define | PROTO 261 |
#define | EXTERNPROTO 262 |
#define | TO 263 |
#define | IS 264 |
#define | ROUTE 265 |
#define | SFN_NULL 266 |
#define | EVENTIN 267 |
#define | EVENTOUT 268 |
#define | FIELD 269 |
#define | EXPOSEDFIELD 270 |
#define | SFBOOL 271 |
#define | SFCOLOR 272 |
#define | SFFLOAT 273 |
#define | SFIMAGE 274 |
#define | SFINT32 275 |
#define | SFNODE 276 |
#define | SFROTATION 277 |
#define | SFSTRING 278 |
#define | SFTIME 279 |
#define | SFVEC2F 280 |
#define | SFVEC3F 281 |
#define | MFCOLOR 282 |
#define | MFFLOAT 283 |
#define | MFINT32 284 |
#define | MFROTATION 285 |
#define | MFSTRING 286 |
#define | MFVEC2F 287 |
#define | MFVEC3F 288 |
#define | MFNODE 289 |
#define | YYDEBUG 1 |
#define | YYLTYPE yyltype |
#define | YYFINAL 128 |
#define | YYFLAG -32768 |
#define | YYNTBASE 40 |
#define | YYTRANSLATE(x) ((unsigned)(x) <= 289 ? yytranslate[x] : 68) |
#define | YYLAST 128 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY -2 |
#define | YYEOF 0 |
#define | YYACCEPT return(0) |
#define | YYABORT return(1) |
#define | YYERROR goto yyerrlab1 |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(token, value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK (yyvsp--, yyssp--) |
#define | FLEX_SCANNER |
#define | YY_USE_PROTOS |
#define | YY_PROTO(proto) proto |
#define | YY_NULL 0 |
#define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
#define | BEGIN yy_start = 1 + 2 * |
#define | YY_START ((yy_start - 1) / 2) |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | YY_NEW_FILE yyrestart( yyin ) |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_BUF_SIZE 16384 |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | yyless(n) |
#define | YY_CURRENT_BUFFER yy_current_buffer |
#define | yy_new_buffer yy_create_buffer |
#define | INITIAL 0 |
#define | NODE 1 |
#define | SFB 2 |
#define | SFC 3 |
#define | SFF 4 |
#define | SFIMG 5 |
#define | SFI 6 |
#define | SFR 7 |
#define | SFS 8 |
#define | SFT 9 |
#define | SFV2 10 |
#define | SFV3 11 |
#define | MFC 12 |
#define | MFF 13 |
#define | MFI 14 |
#define | MFR 15 |
#define | MFS 16 |
#define | MFV2 17 |
#define | MFV3 18 |
#define | IN_SFS 19 |
#define | IN_MFS 20 |
#define | IN_SFIMG 21 |
#define | FLEX_DEBUG |
#define | yytext_ptr yytext |
#define | YY_DO_BEFORE_ACTION |
#define | YY_END_OF_BUFFER 50 |
#define | REJECT reject_used_but_not_detected |
#define | yymore() yymore_used_but_not_detected |
#define | YY_MORE_ADJ 0 |
#define | YY_INPUT(buf, result, max_size) (*theyyInput)(buf, result, max_size,this); |
#define | YY_READ_BUF_SIZE 8192 |
#define | ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
#define | yyterminate() return YY_NULL |
#define | YY_START_STACK_INCR 25 |
#define | YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
#define | YY_DECL int yylex ( vtkVRMLImporter* self ) |
#define | YY_USER_ACTION |
#define | YY_BREAK break; |
#define | yyless(n) |
Functions | |
static void | __yy_memcpy (char *from, char *to, int count) |
Variables | |
static const char | yytranslate [] |
static const short | yyprhs [] |
static const short | yyrhs [] |
static const short | yyrline [] |
static const char *const | yytname [] |
static const short | yyr1 [] |
static const short | yyr2 [] |
static const short | yydefact [] |
static const short | yydefgoto [] |
static const short | yypact [] |
static const short | yypgoto [] |
static const short | yytable [] |
static const short | yycheck [] |
static const short int | yy_accept [949] |
static const int | yy_ec [256] |
static const int | yy_meta [48] |
static const short int | yy_base [1090] |
static const short int | yy_def [1090] |
static const short int | yy_nxt [7711] |
static const short int | yy_chk [7711] |
static const short int | yy_rule_linenum [49] |
#define YYBISON 1 /* Identify Bison output. */ |
Definition at line 554 of file vtkVRMLImporter_Yacc.h.
#define IDENTIFIER 258 |
Definition at line 556 of file vtkVRMLImporter_Yacc.h.
#define DEF 259 |
Definition at line 557 of file vtkVRMLImporter_Yacc.h.
#define USE 260 |
Definition at line 558 of file vtkVRMLImporter_Yacc.h.
#define PROTO 261 |
Definition at line 559 of file vtkVRMLImporter_Yacc.h.
#define EXTERNPROTO 262 |
Definition at line 560 of file vtkVRMLImporter_Yacc.h.
#define TO 263 |
Definition at line 561 of file vtkVRMLImporter_Yacc.h.
#define IS 264 |
Definition at line 562 of file vtkVRMLImporter_Yacc.h.
#define ROUTE 265 |
Definition at line 563 of file vtkVRMLImporter_Yacc.h.
#define SFN_NULL 266 |
Definition at line 564 of file vtkVRMLImporter_Yacc.h.
#define EVENTIN 267 |
Definition at line 565 of file vtkVRMLImporter_Yacc.h.
#define EVENTOUT 268 |
Definition at line 566 of file vtkVRMLImporter_Yacc.h.
#define FIELD 269 |
Definition at line 567 of file vtkVRMLImporter_Yacc.h.
#define EXPOSEDFIELD 270 |
Definition at line 568 of file vtkVRMLImporter_Yacc.h.
#define SFBOOL 271 |
Definition at line 569 of file vtkVRMLImporter_Yacc.h.
#define SFCOLOR 272 |
Definition at line 570 of file vtkVRMLImporter_Yacc.h.
#define SFFLOAT 273 |
Definition at line 571 of file vtkVRMLImporter_Yacc.h.
#define SFIMAGE 274 |
Definition at line 572 of file vtkVRMLImporter_Yacc.h.
#define SFINT32 275 |
Definition at line 573 of file vtkVRMLImporter_Yacc.h.
#define SFNODE 276 |
Definition at line 574 of file vtkVRMLImporter_Yacc.h.
#define SFROTATION 277 |
Definition at line 575 of file vtkVRMLImporter_Yacc.h.
#define SFSTRING 278 |
Definition at line 576 of file vtkVRMLImporter_Yacc.h.
#define SFTIME 279 |
Definition at line 577 of file vtkVRMLImporter_Yacc.h.
#define SFVEC2F 280 |
Definition at line 578 of file vtkVRMLImporter_Yacc.h.
#define SFVEC3F 281 |
Definition at line 579 of file vtkVRMLImporter_Yacc.h.
#define MFCOLOR 282 |
Definition at line 580 of file vtkVRMLImporter_Yacc.h.
#define MFFLOAT 283 |
Definition at line 581 of file vtkVRMLImporter_Yacc.h.
#define MFINT32 284 |
Definition at line 582 of file vtkVRMLImporter_Yacc.h.
#define MFROTATION 285 |
Definition at line 583 of file vtkVRMLImporter_Yacc.h.
#define MFSTRING 286 |
Definition at line 584 of file vtkVRMLImporter_Yacc.h.
#define MFVEC2F 287 |
Definition at line 585 of file vtkVRMLImporter_Yacc.h.
#define MFVEC3F 288 |
Definition at line 586 of file vtkVRMLImporter_Yacc.h.
#define MFNODE 289 |
Definition at line 587 of file vtkVRMLImporter_Yacc.h.
#define YYDEBUG 1 |
Definition at line 605 of file vtkVRMLImporter_Yacc.h.
#define YYLTYPE yyltype |
Definition at line 641 of file vtkVRMLImporter_Yacc.h.
#define YYFINAL 128 |
Definition at line 644 of file vtkVRMLImporter_Yacc.h.
#define YYFLAG -32768 |
Definition at line 645 of file vtkVRMLImporter_Yacc.h.
#define YYNTBASE 40 |
Definition at line 646 of file vtkVRMLImporter_Yacc.h.
#define YYTRANSLATE | ( | x | ) | ((unsigned)(x) <= 289 ? yytranslate[x] : 68) |
Definition at line 648 of file vtkVRMLImporter_Yacc.h.
#define YYLAST 128 |
Definition at line 812 of file vtkVRMLImporter_Yacc.h.
#define yyerrok (yyerrstatus = 0) |
Definition at line 920 of file vtkVRMLImporter_Yacc.h.
#define yyclearin (yychar = YYEMPTY) |
Definition at line 921 of file vtkVRMLImporter_Yacc.h.
#define YYEMPTY -2 |
Definition at line 922 of file vtkVRMLImporter_Yacc.h.
#define YYEOF 0 |
Definition at line 923 of file vtkVRMLImporter_Yacc.h.
#define YYACCEPT return(0) |
Definition at line 924 of file vtkVRMLImporter_Yacc.h.
#define YYABORT return(1) |
Definition at line 925 of file vtkVRMLImporter_Yacc.h.
#define YYERROR goto yyerrlab1 |
Definition at line 926 of file vtkVRMLImporter_Yacc.h.
#define YYFAIL goto yyerrlab |
Definition at line 931 of file vtkVRMLImporter_Yacc.h.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 932 of file vtkVRMLImporter_Yacc.h.
#define YYBACKUP | ( | token, | |
value | |||
) |
Definition at line 933 of file vtkVRMLImporter_Yacc.h.
#define YYTERROR 1 |
Definition at line 945 of file vtkVRMLImporter_Yacc.h.
#define YYERRCODE 256 |
Definition at line 946 of file vtkVRMLImporter_Yacc.h.
#define YYINITDEPTH 200 |
Definition at line 952 of file vtkVRMLImporter_Yacc.h.
#define YYMAXDEPTH 10000 |
Definition at line 963 of file vtkVRMLImporter_Yacc.h.
#define YYPOPSTACK (yyvsp--, yyssp--) |
#define FLEX_SCANNER |
Definition at line 1703 of file vtkVRMLImporter_Yacc.h.
#define YY_USE_PROTOS |
Definition at line 1712 of file vtkVRMLImporter_Yacc.h.
#define YY_PROTO | ( | proto | ) | proto |
Definition at line 1713 of file vtkVRMLImporter_Yacc.h.
#define YY_NULL 0 |
Definition at line 1716 of file vtkVRMLImporter_Yacc.h.
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 1723 of file vtkVRMLImporter_Yacc.h.
#define BEGIN yy_start = 1 + 2 * |
Definition at line 1729 of file vtkVRMLImporter_Yacc.h.
#define YY_START ((yy_start - 1) / 2) |
Definition at line 1734 of file vtkVRMLImporter_Yacc.h.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 1737 of file vtkVRMLImporter_Yacc.h.
#define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 1742 of file vtkVRMLImporter_Yacc.h.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 1744 of file vtkVRMLImporter_Yacc.h.
#define YY_BUF_SIZE 16384 |
Definition at line 1747 of file vtkVRMLImporter_Yacc.h.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 1762 of file vtkVRMLImporter_Yacc.h.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 1763 of file vtkVRMLImporter_Yacc.h.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 1764 of file vtkVRMLImporter_Yacc.h.
#define yyless | ( | n | ) |
Definition at line 5107 of file vtkVRMLImporter_Yacc.h.
#define YY_CURRENT_BUFFER yy_current_buffer |
Definition at line 1844 of file vtkVRMLImporter_Yacc.h.
#define yy_new_buffer yy_create_buffer |
Definition at line 1876 of file vtkVRMLImporter_Yacc.h.
#define INITIAL 0 |
Definition at line 1878 of file vtkVRMLImporter_Yacc.h.
#define NODE 1 |
Definition at line 1879 of file vtkVRMLImporter_Yacc.h.
#define SFB 2 |
Definition at line 1880 of file vtkVRMLImporter_Yacc.h.
#define SFC 3 |
Definition at line 1881 of file vtkVRMLImporter_Yacc.h.
#define SFF 4 |
Definition at line 1882 of file vtkVRMLImporter_Yacc.h.
#define SFIMG 5 |
Definition at line 1883 of file vtkVRMLImporter_Yacc.h.
#define SFI 6 |
Definition at line 1884 of file vtkVRMLImporter_Yacc.h.
#define SFR 7 |
Definition at line 1885 of file vtkVRMLImporter_Yacc.h.
#define SFS 8 |
Definition at line 1886 of file vtkVRMLImporter_Yacc.h.
#define SFT 9 |
Definition at line 1887 of file vtkVRMLImporter_Yacc.h.
#define SFV2 10 |
Definition at line 1888 of file vtkVRMLImporter_Yacc.h.
#define SFV3 11 |
Definition at line 1889 of file vtkVRMLImporter_Yacc.h.
#define MFC 12 |
Definition at line 1890 of file vtkVRMLImporter_Yacc.h.
#define MFF 13 |
Definition at line 1891 of file vtkVRMLImporter_Yacc.h.
#define MFI 14 |
Definition at line 1892 of file vtkVRMLImporter_Yacc.h.
#define MFR 15 |
Definition at line 1893 of file vtkVRMLImporter_Yacc.h.
#define MFS 16 |
Definition at line 1894 of file vtkVRMLImporter_Yacc.h.
#define MFV2 17 |
Definition at line 1895 of file vtkVRMLImporter_Yacc.h.
#define MFV3 18 |
Definition at line 1896 of file vtkVRMLImporter_Yacc.h.
#define IN_SFS 19 |
Definition at line 1897 of file vtkVRMLImporter_Yacc.h.
#define IN_MFS 20 |
Definition at line 1898 of file vtkVRMLImporter_Yacc.h.
#define IN_SFIMG 21 |
Definition at line 1899 of file vtkVRMLImporter_Yacc.h.
#define FLEX_DEBUG |
Definition at line 1901 of file vtkVRMLImporter_Yacc.h.
#define yytext_ptr yytext |
Definition at line 1904 of file vtkVRMLImporter_Yacc.h.
#define YY_DO_BEFORE_ACTION |
Definition at line 1918 of file vtkVRMLImporter_Yacc.h.
#define YY_END_OF_BUFFER 50 |
Definition at line 1925 of file vtkVRMLImporter_Yacc.h.
#define REJECT reject_used_but_not_detected |
Definition at line 4043 of file vtkVRMLImporter_Yacc.h.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 4044 of file vtkVRMLImporter_Yacc.h.
#define YY_MORE_ADJ 0 |
Definition at line 4045 of file vtkVRMLImporter_Yacc.h.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) | (*theyyInput)(buf, result, max_size,this); |
Definition at line 4062 of file vtkVRMLImporter_Yacc.h.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 4122 of file vtkVRMLImporter_Yacc.h.
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
Definition at line 4131 of file vtkVRMLImporter_Yacc.h.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 4155 of file vtkVRMLImporter_Yacc.h.
#define YY_START_STACK_INCR 25 |
Definition at line 4160 of file vtkVRMLImporter_Yacc.h.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 4165 of file vtkVRMLImporter_Yacc.h.
#define YY_DECL int yylex ( vtkVRMLImporter* self ) |
Definition at line 4172 of file vtkVRMLImporter_Yacc.h.
#define YY_USER_ACTION |
Definition at line 4179 of file vtkVRMLImporter_Yacc.h.
#define YY_BREAK break; |
Definition at line 4184 of file vtkVRMLImporter_Yacc.h.
#define yyless | ( | n | ) |
Definition at line 5107 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 967 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 650 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 683 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 694 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 721 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 732 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 745 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 756 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 767 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 783 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 789 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 805 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 815 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 831 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 1926 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2034 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2066 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2075 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2198 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2321 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 3173 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 4031 of file vtkVRMLImporter_Yacc.h.