VTK
9.0.1
Filters
Parallel
vtkPipelineSize.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPipelineSize.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
=========================================================================*/
20
#ifndef vtkPipelineSize_h
21
#define vtkPipelineSize_h
22
23
#include "vtkFiltersParallelModule.h"
// For export macro
24
#include "
vtkObject.h
"
25
class
vtkAlgorithm
;
26
27
class
VTKFILTERSPARALLEL_EXPORT
vtkPipelineSize
:
public
vtkObject
28
{
29
public
:
30
static
vtkPipelineSize
*
New
();
31
vtkTypeMacro(
vtkPipelineSize
,
vtkObject
);
32
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
33
40
unsigned
long
GetEstimatedSize(
vtkAlgorithm
* input,
int
inputPort,
int
connection);
41
48
unsigned
long
GetNumberOfSubPieces(
49
unsigned
long
memoryLimit,
vtkAlgorithm
* mapper,
int
piece,
int
numPieces);
50
51
protected
:
52
vtkPipelineSize
() {}
53
void
GenericComputeSourcePipelineSize(
vtkAlgorithm
* src,
int
outputPort,
unsigned
long
size
[3]);
54
void
ComputeSourcePipelineSize(
vtkAlgorithm
* src,
int
outputPort,
unsigned
long
size
[3]);
55
void
ComputeOutputMemorySize(
56
vtkAlgorithm
* src,
int
outputPort,
unsigned
long
* inputSize,
unsigned
long
size
[2]);
57
void
GenericComputeOutputMemorySize(
58
vtkAlgorithm
* src,
int
outputPort,
unsigned
long
* inputSize,
unsigned
long
size
[2]);
59
60
private
:
61
vtkPipelineSize
(
const
vtkPipelineSize
&) =
delete
;
62
void
operator=(
const
vtkPipelineSize
&) =
delete
;
63
};
64
65
#endif
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition:
vtkAlgorithm.h:62
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkX3D::size
@ size
Definition:
vtkX3D.h:259
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkPipelineSize::vtkPipelineSize
vtkPipelineSize()
Definition:
vtkPipelineSize.h:52
vtkPipelineSize
compute the memory required by a pipeline
Definition:
vtkPipelineSize.h:27
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17