vtkVRMLSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkVRMLSource.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
23 #ifndef vtkVRMLSource_h
24 #define vtkVRMLSource_h
25 
27 #include "vtkPVVTKExtensionsIOGeneralModule.h" //needed for exports
28 
30 class vtkVRMLImporter;
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37  static vtkVRMLSource* New();
38 
40 
43  vtkSetStringMacro(FileName);
44  vtkGetStringMacro(FileName);
46 
48 
51  vtkSetMacro(Color, int);
52  vtkGetMacro(Color, int);
53  vtkBooleanMacro(Color, int);
55 
57 
61  vtkSetMacro(Append, int);
62  vtkGetMacro(Append, int);
63  vtkBooleanMacro(Append, int);
65 
66  static int CanReadFile(const char* filename);
67 
68 protected:
69  vtkVRMLSource();
70  ~vtkVRMLSource() override;
71 
73 
74  void InitializeImporter();
75  void CopyImporterToOutputs(vtkMultiBlockDataSet*);
76 
77  char* FileName;
79  int Color;
80  int Append;
81 
82 private:
83  vtkVRMLSource(const vtkVRMLSource&) = delete;
84  void operator=(const vtkVRMLSource&) = delete;
85 };
86 
87 #endif
vtkVRMLImporter * Importer
Definition: vtkVRMLSource.h:78
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkMultiBlockDataSetAlgorithm * New()
#define VTKPVVTKEXTENSIONSIOGENERAL_EXPORT
Converts importer to a source.
Definition: vtkVRMLSource.h:32
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
void operator=(const vtkObjectBase &)