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