VTK
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 "vtkCommonDataModelModule.h" // For export macro
34#include "vtkCell.h"
35
36class VTKCOMMONDATAMODEL_EXPORT vtkNonLinearCell : public vtkCell
37{
38public:
40 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
41
47 int IsLinear() VTK_OVERRIDE {return 0;}
48
49protected:
51 ~vtkNonLinearCell() VTK_OVERRIDE {}
52
53private:
54 vtkNonLinearCell(const vtkNonLinearCell&) VTK_DELETE_FUNCTION;
55 void operator=(const vtkNonLinearCell&) VTK_DELETE_FUNCTION;
56};
57
58#endif
59
60
abstract class to specify cell behavior
Definition: vtkCell.h:60
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract superclass for non-linear cells
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkNonLinearCell() override
int IsLinear() override
Non-linear cells require special treatment (tessellation) when converting to graphics primitives (dur...