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