VTK
dox
IO
Geometry
vtkOBJReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOBJReader.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
28
#ifndef vtkOBJReader_h
29
#define vtkOBJReader_h
30
31
#include "vtkIOGeometryModule.h"
// For export macro
32
#include "
vtkAbstractPolyDataReader.h
"
33
34
class
VTKIOGEOMETRY_EXPORT
vtkOBJReader
:
public
vtkAbstractPolyDataReader
35
{
36
public
:
37
static
vtkOBJReader
*
New
();
38
vtkTypeMacro(
vtkOBJReader
,
vtkAbstractPolyDataReader
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
42
46
vtkGetStringMacro(Comment);
48
49
protected
:
50
vtkOBJReader
();
51
~
vtkOBJReader
()
override
;
52
53
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
54
58
vtkSetStringMacro(Comment);
59
60
char
*
Comment
;
61
62
private
:
63
vtkOBJReader
(
const
vtkOBJReader
&) =
delete
;
64
void
operator=(
const
vtkOBJReader
&) =
delete
;
65
};
66
67
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkOBJReader::Comment
char * Comment
Definition:
vtkOBJReader.h:58
vtkAbstractPolyDataReader
Superclass for algorithms that read models from a file.
Definition:
vtkAbstractPolyDataReader.h:36
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkOBJReader
read Wavefront .obj files
Definition:
vtkOBJReader.h:34
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkAbstractPolyDataReader.h
vtkAbstractPolyDataReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
Generated by
1.8.16