vtkbone
vtkboneImageToMesh.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Copyright 2010-2016, Numerics88 Solutions Ltd.
4 http://www.numerics88.com/
5
6 Copyright (c) Eric Nodwell and Steven K. Boyd
7 See Copyright.txt for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12=========================================================================*/
13
54#ifndef __vtkboneImageToMesh_h
55#define __vtkboneImageToMesh_h
56
58#include "vtkboneWin32Header.h"
59
60// forward declarations
61class vtkImageData;
62
64{
65public:
68 void PrintSelf(ostream& os, vtkIndent indent) override;
69 void Report(ostream& s);
70
71protected:
74
75 virtual int FillInputPortInformation(int port, vtkInformation* info) override;
76
78
80
84 vtkImageData* inputAsPointScalars);
86
88 vtkUnstructuredGrid* output);
89
90private:
91 // Prevent compiler from making default versions of these.
93 void operator=(const vtkboneImageToMesh&);
94};
95
96
97//-----------------------------------------------------------------------
98// Namespace for printing more concise reports for classes.
99// This is consistent with the calling format in vtkbonePrettyReports.h
100//
102{
103 //-----------------------------------------------------------------------
104 inline void Print(std::ostream& s, vtkboneImageToMesh* obj)
105 {
106 obj->Report(s);
107 }
108} // namespace vtkbonePrettyReports
109
110#endif
void operator=(const vtkObjectBase &)
takes a vtkImageData as input and outputs a vtkUnstructuredGrid of hexahedron cells.
void Report(ostream &s)
int GenerateHexahedrons(vtkImageData *input, vtkUnstructuredGrid *output)
void PrintSelf(ostream &os, vtkIndent indent) override
int GetInputAsCellScalars(vtkImageData *input, vtkImageData *inputAsPointScalars)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkboneImageToMesh * New()
virtual int FillInputPortInformation(int port, vtkInformation *info) override