VTK  9.1.0
vtkNonLinearCell.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkNonLinearCell.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=========================================================================*/
30#ifndef vtkNonLinearCell_h
31#define vtkNonLinearCell_h
32
33#include "vtkCell.h"
34#include "vtkCommonDataModelModule.h" // For export macro
35
36class VTKCOMMONDATAMODEL_EXPORT vtkNonLinearCell : public vtkCell
37{
38public:
39 vtkTypeMacro(vtkNonLinearCell, vtkCell);
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
47 int IsLinear() override { return 0; }
48
49protected:
51 ~vtkNonLinearCell() override = default;
52
53private:
54 vtkNonLinearCell(const vtkNonLinearCell&) = delete;
55 void operator=(const vtkNonLinearCell&) = delete;
56};
57
58#endif
abstract class to specify cell behavior
Definition: vtkCell.h:147
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract superclass for non-linear cells
~vtkNonLinearCell() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int IsLinear() override
Non-linear cells require special treatment (tessellation) when converting to graphics primitives (dur...