VTK
9.4.20241117
|
#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 | 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 546 of file vtkVRMLImporter_Yacc.h.
#define IDENTIFIER 258 |
Definition at line 548 of file vtkVRMLImporter_Yacc.h.
#define DEF 259 |
Definition at line 549 of file vtkVRMLImporter_Yacc.h.
#define USE 260 |
Definition at line 550 of file vtkVRMLImporter_Yacc.h.
#define PROTO 261 |
Definition at line 551 of file vtkVRMLImporter_Yacc.h.
#define EXTERNPROTO 262 |
Definition at line 552 of file vtkVRMLImporter_Yacc.h.
#define TO 263 |
Definition at line 553 of file vtkVRMLImporter_Yacc.h.
#define IS 264 |
Definition at line 554 of file vtkVRMLImporter_Yacc.h.
#define ROUTE 265 |
Definition at line 555 of file vtkVRMLImporter_Yacc.h.
#define SFN_NULL 266 |
Definition at line 556 of file vtkVRMLImporter_Yacc.h.
#define EVENTIN 267 |
Definition at line 557 of file vtkVRMLImporter_Yacc.h.
#define EVENTOUT 268 |
Definition at line 558 of file vtkVRMLImporter_Yacc.h.
#define FIELD 269 |
Definition at line 559 of file vtkVRMLImporter_Yacc.h.
#define EXPOSEDFIELD 270 |
Definition at line 560 of file vtkVRMLImporter_Yacc.h.
#define SFBOOL 271 |
Definition at line 561 of file vtkVRMLImporter_Yacc.h.
#define SFCOLOR 272 |
Definition at line 562 of file vtkVRMLImporter_Yacc.h.
#define SFFLOAT 273 |
Definition at line 563 of file vtkVRMLImporter_Yacc.h.
#define SFIMAGE 274 |
Definition at line 564 of file vtkVRMLImporter_Yacc.h.
#define SFINT32 275 |
Definition at line 565 of file vtkVRMLImporter_Yacc.h.
#define SFNODE 276 |
Definition at line 566 of file vtkVRMLImporter_Yacc.h.
#define SFROTATION 277 |
Definition at line 567 of file vtkVRMLImporter_Yacc.h.
#define SFSTRING 278 |
Definition at line 568 of file vtkVRMLImporter_Yacc.h.
#define SFTIME 279 |
Definition at line 569 of file vtkVRMLImporter_Yacc.h.
#define SFVEC2F 280 |
Definition at line 570 of file vtkVRMLImporter_Yacc.h.
#define SFVEC3F 281 |
Definition at line 571 of file vtkVRMLImporter_Yacc.h.
#define MFCOLOR 282 |
Definition at line 572 of file vtkVRMLImporter_Yacc.h.
#define MFFLOAT 283 |
Definition at line 573 of file vtkVRMLImporter_Yacc.h.
#define MFINT32 284 |
Definition at line 574 of file vtkVRMLImporter_Yacc.h.
#define MFROTATION 285 |
Definition at line 575 of file vtkVRMLImporter_Yacc.h.
#define MFSTRING 286 |
Definition at line 576 of file vtkVRMLImporter_Yacc.h.
#define MFVEC2F 287 |
Definition at line 577 of file vtkVRMLImporter_Yacc.h.
#define MFVEC3F 288 |
Definition at line 578 of file vtkVRMLImporter_Yacc.h.
#define MFNODE 289 |
Definition at line 579 of file vtkVRMLImporter_Yacc.h.
#define YYDEBUG 1 |
Definition at line 597 of file vtkVRMLImporter_Yacc.h.
#define YYLTYPE yyltype |
Definition at line 634 of file vtkVRMLImporter_Yacc.h.
#define YYFINAL 128 |
Definition at line 637 of file vtkVRMLImporter_Yacc.h.
#define YYFLAG -32768 |
Definition at line 638 of file vtkVRMLImporter_Yacc.h.
#define YYNTBASE 40 |
Definition at line 639 of file vtkVRMLImporter_Yacc.h.
#define YYTRANSLATE | ( | x | ) | ((unsigned)(x) <= 289 ? yytranslate[x] : 68) |
Definition at line 641 of file vtkVRMLImporter_Yacc.h.
#define YYLAST 128 |
Definition at line 805 of file vtkVRMLImporter_Yacc.h.
#define yyerrok (yyerrstatus = 0) |
Definition at line 891 of file vtkVRMLImporter_Yacc.h.
#define yyclearin (yychar = YYEMPTY) |
Definition at line 892 of file vtkVRMLImporter_Yacc.h.
#define YYEMPTY -2 |
Definition at line 893 of file vtkVRMLImporter_Yacc.h.
#define YYEOF 0 |
Definition at line 894 of file vtkVRMLImporter_Yacc.h.
#define YYACCEPT return(0) |
Definition at line 895 of file vtkVRMLImporter_Yacc.h.
#define YYABORT return(1) |
Definition at line 896 of file vtkVRMLImporter_Yacc.h.
#define YYERROR goto yyerrlab1 |
Definition at line 897 of file vtkVRMLImporter_Yacc.h.
#define YYFAIL goto yyerrlab |
Definition at line 902 of file vtkVRMLImporter_Yacc.h.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 903 of file vtkVRMLImporter_Yacc.h.
#define YYBACKUP | ( | token, | |
value | |||
) |
Definition at line 904 of file vtkVRMLImporter_Yacc.h.
#define YYTERROR 1 |
Definition at line 916 of file vtkVRMLImporter_Yacc.h.
#define YYERRCODE 256 |
Definition at line 917 of file vtkVRMLImporter_Yacc.h.
#define YYINITDEPTH 200 |
Definition at line 923 of file vtkVRMLImporter_Yacc.h.
#define YYMAXDEPTH 10000 |
Definition at line 934 of file vtkVRMLImporter_Yacc.h.
#define YYPOPSTACK (yyvsp--, yyssp--) |
#define FLEX_SCANNER |
Definition at line 1676 of file vtkVRMLImporter_Yacc.h.
#define YY_USE_PROTOS |
Definition at line 1685 of file vtkVRMLImporter_Yacc.h.
#define YY_PROTO | ( | proto | ) | proto |
Definition at line 1686 of file vtkVRMLImporter_Yacc.h.
#define YY_NULL 0 |
Definition at line 1689 of file vtkVRMLImporter_Yacc.h.
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 1696 of file vtkVRMLImporter_Yacc.h.
#define BEGIN yy_start = 1 + 2 * |
Definition at line 1702 of file vtkVRMLImporter_Yacc.h.
#define YY_START ((yy_start - 1) / 2) |
Definition at line 1707 of file vtkVRMLImporter_Yacc.h.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 1710 of file vtkVRMLImporter_Yacc.h.
#define YY_NEW_FILE yyrestart( yyin ) |
Definition at line 1715 of file vtkVRMLImporter_Yacc.h.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 1717 of file vtkVRMLImporter_Yacc.h.
#define YY_BUF_SIZE 16384 |
Definition at line 1720 of file vtkVRMLImporter_Yacc.h.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 1735 of file vtkVRMLImporter_Yacc.h.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 1736 of file vtkVRMLImporter_Yacc.h.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 1737 of file vtkVRMLImporter_Yacc.h.
#define yyless | ( | n | ) |
Definition at line 1755 of file vtkVRMLImporter_Yacc.h.
#define YY_CURRENT_BUFFER yy_current_buffer |
Definition at line 1817 of file vtkVRMLImporter_Yacc.h.
#define yy_new_buffer yy_create_buffer |
Definition at line 1849 of file vtkVRMLImporter_Yacc.h.
#define INITIAL 0 |
Definition at line 1851 of file vtkVRMLImporter_Yacc.h.
#define NODE 1 |
Definition at line 1852 of file vtkVRMLImporter_Yacc.h.
#define SFB 2 |
Definition at line 1853 of file vtkVRMLImporter_Yacc.h.
#define SFC 3 |
Definition at line 1854 of file vtkVRMLImporter_Yacc.h.
#define SFF 4 |
Definition at line 1855 of file vtkVRMLImporter_Yacc.h.
#define SFIMG 5 |
Definition at line 1856 of file vtkVRMLImporter_Yacc.h.
#define SFI 6 |
Definition at line 1857 of file vtkVRMLImporter_Yacc.h.
#define SFR 7 |
Definition at line 1858 of file vtkVRMLImporter_Yacc.h.
#define SFS 8 |
Definition at line 1859 of file vtkVRMLImporter_Yacc.h.
#define SFT 9 |
Definition at line 1860 of file vtkVRMLImporter_Yacc.h.
#define SFV2 10 |
Definition at line 1861 of file vtkVRMLImporter_Yacc.h.
#define SFV3 11 |
Definition at line 1862 of file vtkVRMLImporter_Yacc.h.
#define MFC 12 |
Definition at line 1863 of file vtkVRMLImporter_Yacc.h.
#define MFF 13 |
Definition at line 1864 of file vtkVRMLImporter_Yacc.h.
#define MFI 14 |
Definition at line 1865 of file vtkVRMLImporter_Yacc.h.
#define MFR 15 |
Definition at line 1866 of file vtkVRMLImporter_Yacc.h.
#define MFS 16 |
Definition at line 1867 of file vtkVRMLImporter_Yacc.h.
#define MFV2 17 |
Definition at line 1868 of file vtkVRMLImporter_Yacc.h.
#define MFV3 18 |
Definition at line 1869 of file vtkVRMLImporter_Yacc.h.
#define IN_SFS 19 |
Definition at line 1870 of file vtkVRMLImporter_Yacc.h.
#define IN_MFS 20 |
Definition at line 1871 of file vtkVRMLImporter_Yacc.h.
#define IN_SFIMG 21 |
Definition at line 1872 of file vtkVRMLImporter_Yacc.h.
#define FLEX_DEBUG |
Definition at line 1874 of file vtkVRMLImporter_Yacc.h.
#define yytext_ptr yytext |
Definition at line 1877 of file vtkVRMLImporter_Yacc.h.
#define YY_DO_BEFORE_ACTION |
Definition at line 1891 of file vtkVRMLImporter_Yacc.h.
#define YY_END_OF_BUFFER 50 |
Definition at line 1900 of file vtkVRMLImporter_Yacc.h.
#define REJECT reject_used_but_not_detected |
Definition at line 4018 of file vtkVRMLImporter_Yacc.h.
#define yymore | ( | ) | yymore_used_but_not_detected |
Definition at line 4019 of file vtkVRMLImporter_Yacc.h.
#define YY_MORE_ADJ 0 |
Definition at line 4020 of file vtkVRMLImporter_Yacc.h.
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) | (*theyyInput)(buf, result, max_size,this) |
Definition at line 4036 of file vtkVRMLImporter_Yacc.h.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 4098 of file vtkVRMLImporter_Yacc.h.
#define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
Definition at line 4107 of file vtkVRMLImporter_Yacc.h.
#define yyterminate | ( | ) | return YY_NULL |
Definition at line 4131 of file vtkVRMLImporter_Yacc.h.
#define YY_START_STACK_INCR 25 |
Definition at line 4136 of file vtkVRMLImporter_Yacc.h.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 4141 of file vtkVRMLImporter_Yacc.h.
#define YY_DECL int yylex ( vtkVRMLImporter* self ) |
Definition at line 4148 of file vtkVRMLImporter_Yacc.h.
#define YY_USER_ACTION |
Definition at line 4155 of file vtkVRMLImporter_Yacc.h.
#define YY_BREAK break; |
Definition at line 4160 of file vtkVRMLImporter_Yacc.h.
#define yyless | ( | n | ) |
Definition at line 1755 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 938 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 643 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 738 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 749 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 760 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 776 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 782 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 798 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 808 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 824 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 1901 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2009 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2041 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2050 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2173 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 2296 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 3148 of file vtkVRMLImporter_Yacc.h.
|
static |
Definition at line 4006 of file vtkVRMLImporter_Yacc.h.