ActiViz .NET
5.8.0
|
vtkVRMLImporter - imports VRML 2.0 files. More...
Public Member Functions | |
vtkVRMLImporter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkVRMLImporter () | |
Undocumented Block. | |
virtual string | GetFileName () |
Specify the name of the file to read. | |
vtkObject | GetVRMLDEFObject (string name) |
In the VRML spec you can DEF and USE nodes (name them), This routine will return the associated VTK object which was created as a result of the DEF mechanism Send in the name from the VRML file, get the VTK object. You will have to check and correctly cast the object since this only returns vtkObjects. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkVRMLImporter | NewInstance () |
Undocumented Block. | |
virtual void | SetFileName (string _arg) |
Specify the name of the file to read. | |
void | enterField (string arg0) |
Needed by the yacc/lex grammar used. | |
void | enterNode (string arg0) |
Needed by the yacc/lex grammar used. | |
void | exitField () |
Needed by the yacc/lex grammar used. | |
void | exitNode () |
Needed by the yacc/lex grammar used. | |
void | useNode (string arg0) |
Needed by the yacc/lex grammar used. | |
Static Public Member Functions | |
static new vtkVRMLImporter | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkVRMLImporter | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkVRMLImporter" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "15vtkVRMLImporter" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkVRMLImporter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkVRMLImporter_GetFileName_01 (HandleRef pThis) |
static internal IntPtr | vtkVRMLImporter_GetVRMLDEFObject_02 (HandleRef pThis, string name, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkVRMLImporter_IsA_03 (HandleRef pThis, string type) |
static internal int | vtkVRMLImporter_IsTypeOf_04 (string type) |
static internal IntPtr | vtkVRMLImporter_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkVRMLImporter_SafeDownCast_07 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkVRMLImporter_SetFileName_08 (HandleRef pThis, string _arg) |
static internal void | vtkVRMLImporter_enterField_09 (HandleRef pThis, string arg0) |
static internal void | vtkVRMLImporter_enterNode_10 (HandleRef pThis, string arg0) |
static internal void | vtkVRMLImporter_exitField_11 (HandleRef pThis) |
static internal void | vtkVRMLImporter_exitNode_12 (HandleRef pThis) |
static internal void | vtkVRMLImporter_useNode_13 (HandleRef pThis, string arg0) |
Static Private Member Functions | |
static | vtkVRMLImporter () |
Automatically generated type registration mechanics. |
vtkVRMLImporter - imports VRML 2.0 files.
Description
vtkVRMLImporter imports VRML 2.0 files into vtk. Caveats
These nodes are currently supported: Appearance IndexedFaceSet Box IndexedLineSet Color Material Cone Shape Coordinate Sphere Cylinder Transform DirectionalLight
As you can see this implementation focuses on getting the geometry translated. The routes and scripting nodes are ignored since they deal with directly accessing a nodes internal structure based on the VRML spec. Since this is a translation the internal data structures differ greatly from the VRML spec and the External Authoring Interface (see the VRML spec). The DEF/USE mechanism does allow the Vtk user to extract objects from the scene and directly manipulate them using the native language (Tcl, Python, Java, or whatever language Vtk is wrapped in). This, in a way, removes the need for the route and script mechanism (not completely though).
Thanks Thanks to Russ Coucher of Areva for numerous bug fixes and a new test.
static Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkVRMLImporter.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkImporter.
void Kitware.VTK.vtkVRMLImporter.enterField | ( | string | arg0 | ) |
Needed by the yacc/lex grammar used.
void Kitware.VTK.vtkVRMLImporter.enterNode | ( | string | arg0 | ) |
Needed by the yacc/lex grammar used.
Needed by the yacc/lex grammar used.
void Kitware.VTK.vtkVRMLImporter.exitNode | ( | ) |
Needed by the yacc/lex grammar used.
virtual string Kitware.VTK.vtkVRMLImporter.GetFileName | ( | ) | [virtual] |
Specify the name of the file to read.
vtkObject Kitware.VTK.vtkVRMLImporter.GetVRMLDEFObject | ( | string | name | ) |
In the VRML spec you can DEF and USE nodes (name them), This routine will return the associated VTK object which was created as a result of the DEF mechanism Send in the name from the VRML file, get the VTK object. You will have to check and correctly cast the object since this only returns vtkObjects.
override int Kitware.VTK.vtkVRMLImporter.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImporter.
static new int Kitware.VTK.vtkVRMLImporter.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImporter.
static new vtkVRMLImporter Kitware.VTK.vtkVRMLImporter.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImporter.
static new vtkVRMLImporter Kitware.VTK.vtkVRMLImporter.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImporter.
virtual void Kitware.VTK.vtkVRMLImporter.SetFileName | ( | string | _arg | ) | [virtual] |
Specify the name of the file to read.
void Kitware.VTK.vtkVRMLImporter.useNode | ( | string | arg0 | ) |
Needed by the yacc/lex grammar used.
static internal void Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_enterField_09 | ( | HandleRef | pThis, |
string | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_enterNode_10 | ( | HandleRef | pThis, |
string | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_exitField_11 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_exitNode_12 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_GetFileName_01 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_GetVRMLDEFObject_02 | ( | HandleRef | pThis, |
string | name, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_IsA_03 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_IsTypeOf_04 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_NewInstance_06 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_SafeDownCast_07 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_SetFileName_08 | ( | HandleRef | pThis, |
string | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkVRMLImporter.vtkVRMLImporter_useNode_13 | ( | HandleRef | pThis, |
string | arg0 | ||
) | [private] |
new readonly string Kitware.VTK.vtkVRMLImporter.MRClassNameKey = "15vtkVRMLImporter" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkImporter.
new const string Kitware.VTK.vtkVRMLImporter.MRFullTypeName = "Kitware.VTK.vtkVRMLImporter" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkImporter.