VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkCompositer.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCompositer.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
=========================================================================*/
28
#ifndef __vtkCompositer_h
29
#define __vtkCompositer_h
30
31
#include "
vtkObject.h
"
32
33
class
vtkMultiProcessController
;
34
class
vtkCompositer
;
35
class
vtkDataArray
;
36
class
vtkFloatArray
;
37
class
vtkUnsignedCharArray
;
38
39
class
VTK_PARALLEL_EXPORT
vtkCompositer
:
public
vtkObject
40
{
41
public
:
42
static
vtkCompositer
*
New
();
43
vtkTypeMacro(
vtkCompositer
,
vtkObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
47
49
virtual
void
CompositeBuffer(
vtkDataArray
*pBuf,
vtkFloatArray
*zBuf,
50
vtkDataArray
*pTmp,
vtkFloatArray
*zTmp);
52
54
55
virtual
void
SetController(
vtkMultiProcessController
*);
56
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
58
60
61
vtkSetMacro(NumberOfProcesses,
int
);
62
vtkGetMacro(NumberOfProcesses,
int
);
64
66
67
static
void
DeleteArray(
vtkDataArray
* da);
68
static
void
ResizeFloatArray(
vtkFloatArray
* fa,
int
numComp,
69
vtkIdType
size
);
70
static
void
ResizeUnsignedCharArray(
vtkUnsignedCharArray
* uca,
71
int
numComp,
vtkIdType
size
);
73
74
protected
:
75
vtkCompositer
();
76
~
vtkCompositer
();
77
78
vtkMultiProcessController
*
Controller
;
79
int
NumberOfProcesses
;
80
81
private
:
82
vtkCompositer
(
const
vtkCompositer
&);
// Not implemented
83
void
operator=(
const
vtkCompositer
&);
// Not implemented
84
};
85
86
#endif
Generated on Fri Aug 2 2013 12:20:01 for VTK by
1.8.4