VTK
dox
IO
Import
vtkOBJImporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
Program: Visualization Toolkit
3
Module: vtkOBJImporter.h
4
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
5
All rights reserved.
6
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
7
8
This software is distributed WITHOUT ANY WARRANTY; without even
9
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10
PURPOSE. See the above copyright notice for more information.
11
=========================================================================*/
26
#ifndef vtkOBJImporter_h
27
#define vtkOBJImporter_h
28
29
#include "vtkIOImportModule.h"
// For export macro
30
#include "
vtkSmartPointer.h
"
31
#include "
vtkImporter.h
"
32
33
class
vtkRenderWindow
;
34
class
vtkRenderer
;
35
class
vtkPolydata;
36
class
vtkOBJPolyDataProcessor
;
37
61
class
VTKIOIMPORT_EXPORT
vtkOBJImporter
:
public
vtkImporter
62
{
63
public
:
64
static
vtkOBJImporter
*
New
();
65
66
vtkTypeMacro(
vtkOBJImporter
,
vtkImporter
);
67
void
PrintSelf
(ostream& os,
vtkIndent
indent);
68
70
73
void
SetFileName(
const
char
* arg);
74
void
SetFileNameMTL(
const
char
* arg);
75
void
SetTexturePath(
const
char
* path);
76
const
char
* GetFileName()
const
;
77
const
char
* GetFileNameMTL()
const
;
78
const
char
* GetTexturePath()
const
;
80
81
protected
:
82
vtkOBJImporter
();
83
~
vtkOBJImporter
();
84
85
virtual
int
ImportBegin
()
/*override*/
;
86
virtual
void
ImportEnd
()
/*override*/
;
87
virtual
void
ReadData
()
/* override */
;
88
89
vtkSmartPointer<vtkOBJPolyDataProcessor>
Impl
;
90
91
private
:
92
vtkOBJImporter
(
const
vtkOBJImporter
&) VTK_DELETE_FUNCTION;
93
void
operator=(
const
vtkOBJImporter
&) VTK_DELETE_FUNCTION;
94
};
95
96
97
98
#endif
99
// VTK-HeaderTest-Exclude: vtkOBJImporter.h
vtkImporter::ReadData
virtual void ReadData()
vtkImporter
importer abstract class
Definition:
vtkImporter.h:54
vtkImporter.h
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkSmartPointer< vtkOBJPolyDataProcessor >
vtkOBJPolyDataProcessor
Definition:
vtkOBJImporterInternals.h:61
vtkImporter::ImportEnd
virtual void ImportEnd()
Definition:
vtkImporter.h:97
vtkOBJImporter
import from .obj wavefront files
Definition:
vtkOBJImporter.h:61
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkImporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkImporter::ImportBegin
virtual int ImportBegin()
Definition:
vtkImporter.h:96
vtkSmartPointer.h
vtkOBJImporter::Impl
vtkSmartPointer< vtkOBJPolyDataProcessor > Impl
Definition:
vtkOBJImporter.h:89
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
vtkRenderWindow
create a window for renderers to draw into
Definition:
vtkRenderWindow.h:86
Generated by
1.8.16