VTK
dox
IO
Export
vtkOOGLExporter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOOGLExporter.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
=========================================================================*/
15
30
#ifndef vtkOOGLExporter_h
31
#define vtkOOGLExporter_h
32
33
#include "vtkIOExportModule.h"
// For export macro
34
#include "
vtkExporter.h
"
35
36
class
vtkLight
;
37
class
vtkActor
;
38
39
class
VTKIOEXPORT_EXPORT
vtkOOGLExporter
:
public
vtkExporter
40
{
41
public
:
42
static
vtkOOGLExporter
*
New
();
43
vtkTypeMacro(
vtkOOGLExporter
,
vtkExporter
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
45
47
50
vtkSetStringMacro(FileName);
51
vtkGetStringMacro(FileName);
53
54
protected
:
55
vtkOOGLExporter
();
56
~
vtkOOGLExporter
()
override
;
57
58
void
WriteData
()
override
;
59
void
WriteALight(
vtkLight
*aLight, FILE *fp);
60
void
WriteAnActor(
vtkActor
*anActor, FILE *fp,
int
count);
61
char
*
FileName
;
62
63
private
:
64
vtkOOGLExporter
(
const
vtkOOGLExporter
&) =
delete
;
65
void
operator=(
const
vtkOOGLExporter
&) =
delete
;
66
};
67
68
#endif
69
vtkLight
a virtual light for 3D rendering
Definition:
vtkLight.h:62
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkExporter::WriteData
virtual void WriteData()=0
vtkOOGLExporter::FileName
char * FileName
Definition:
vtkOOGLExporter.h:61
vtkOOGLExporter
export a scene into Geomview OOGL format.
Definition:
vtkOOGLExporter.h:39
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition:
vtkActor.h:51
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkExporter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExporter
abstract class to write a scene to a file
Definition:
vtkExporter.h:47
vtkExporter.h
Generated by
1.8.16