dox/Rendering/vtkIVExporter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00032
#ifndef __vtkIVExporter_h
00033
#define __vtkIVExporter_h
00034
00035
#include "vtkExporter.h"
00036
00037
class vtkLight;
00038
class vtkActor;
00039
class vtkPoints;
00040
class vtkDataArray;
00041
class vtkUnsignedCharArray;
00042
00043 class VTK_RENDERING_EXPORT vtkIVExporter :
public vtkExporter
00044 {
00045
public:
00046
static vtkIVExporter *
New();
00047 vtkTypeRevisionMacro(vtkIVExporter,
vtkExporter);
00048
void PrintSelf(ostream& os,
vtkIndent indent);
00049
00051
00052 vtkSetStringMacro(FileName);
00053 vtkGetStringMacro(FileName);
00055
00056
protected:
00057 vtkIVExporter();
00058 ~vtkIVExporter();
00059
00060
void WriteData();
00061
void WriteALight(
vtkLight *aLight, FILE *fp);
00062
void WriteAnActor(
vtkActor *anActor, FILE *fp);
00063
void WritePointData(
vtkPoints *points,
vtkDataArray *normals,
00064
vtkDataArray *tcoords,
vtkUnsignedCharArray *colors,
00065 FILE *fp);
00066 char *FileName;
00067
private:
00068 vtkIVExporter(
const vtkIVExporter&);
00069
void operator=(
const vtkIVExporter&);
00070 };
00071
00072
#endif
00073