VTK  9.7.20261205
vtkOverlappingAMRToBricksHelper.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef vtkOverlappingAMRToBricksHelper_h
5#define vtkOverlappingAMRToBricksHelper_h
6
8#include "vtkObject.h"
9
10VTK_ABI_NAMESPACE_BEGIN
11
13
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33 vtkOverlappingAMR* GetOverlappingAMR() const { return this->AMR; }
34
35protected:
38
39 // vtkAMRToBricksHelper interface
40 void CollectInput() override;
41 const char* GetInputTypeName() const override { return "AMR"; }
42
43private:
45 void operator=(const vtkOverlappingAMRToBricksHelper&) = delete;
46
47 // each patch is already a brick; subdivide to MAX_BRICK_WIDTH.
48 void CollectBricks();
49
51};
52
53VTK_ABI_NAMESPACE_END
54
55#endif
a simple class to control print indentation
Definition vtkIndent.h:108
OverlappingAMR front-end of vtkAMRToBricksHelper (Wald et al.
static vtkOverlappingAMRToBricksHelper * New()
const char * GetInputTypeName() const override
void CollectInput() override
input-specific: fill BricksData + BrickScalarMin/Max + MaxLevel.
~vtkOverlappingAMRToBricksHelper() override=default
virtual void SetOverlappingAMR(vtkOverlappingAMR *amr)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a multi-resolution dataset based on vtkCartesianGrid allowing overlaps