src
paraview-5.12
VTKExtensions
IOGeneral
vtkPVPLYWriter.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
11
#ifndef vtkPVPLYWriter_h
12
#define vtkPVPLYWriter_h
13
14
#include "
vtkNew.h
"
// needed for vtkNew
15
#include "vtkPVVTKExtensionsIOGeneralModule.h"
//needed for exports
16
#include "
vtkSmartPointer.h
"
// needed for vtkSmartPointer
17
#include "
vtkWriter.h
"
18
19
class
vtkPLYWriter
;
20
class
vtkScalarsToColors
;
21
22
class
VTKPVVTKEXTENSIONSIOGENERAL_EXPORT
vtkPVPLYWriter
:
public
vtkWriter
23
{
24
public
:
25
static
vtkPVPLYWriter
*
New
();
26
vtkTypeMacro(
vtkPVPLYWriter
,
vtkWriter
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
30
33
vtkSetMacro(EnableColoring,
bool
);
34
vtkGetMacro(EnableColoring,
bool
);
36
38
41
vtkSetMacro(EnableAlpha,
bool
);
42
vtkGetMacro(EnableAlpha,
bool
);
44
49
void
SetDataByteOrder(
int
dbo);
50
54
void
SetFileType(
int
ftype);
55
59
void
SetFileName(
const
char
* fname);
60
65
void
SetLookupTable(
vtkScalarsToColors
* lut);
66
67
protected
:
68
vtkPVPLYWriter
();
69
~
vtkPVPLYWriter
()
override
;
70
71
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
72
void
WriteData
()
override
;
73
74
bool
EnableColoring
;
75
bool
EnableAlpha
;
76
vtkNew<vtkPLYWriter>
Writer
;
77
vtkSmartPointer<vtkScalarsToColors>
LookupTable
;
78
79
private
:
80
vtkPVPLYWriter
(
const
vtkPVPLYWriter
&) =
delete
;
81
void
operator=
(
const
vtkPVPLYWriter
&) =
delete
;
82
};
83
84
#endif
vtkPVPLYWriter::Writer
vtkNew< vtkPLYWriter > Writer
Definition:
vtkPVPLYWriter.h:76
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkPVPLYWriter::EnableColoring
bool EnableColoring
Definition:
vtkPVPLYWriter.h:74
vtkSmartPointer< vtkScalarsToColors >
vtkPLYWriter
vtkPVPLYWriter::EnableAlpha
bool EnableAlpha
Definition:
vtkPVPLYWriter.h:75
vtkWriter::WriteData
virtual void WriteData()=0
vtkIndent
vtkWriter
vtkSmartPointer.h
vtkNew< vtkPLYWriter >
vtkScalarsToColors
vtkInformation
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkWriter.h
vtkNew.h
vtkPVPLYWriter::LookupTable
vtkSmartPointer< vtkScalarsToColors > LookupTable
Definition:
vtkPVPLYWriter.h:77
vtkPVPLYWriter
provides a ParaView friendly API for vtkPLYWriter.
Definition:
vtkPVPLYWriter.h:22
vtkWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Generated by
1.8.17 on Wed Mar 27 2024