ParaView
ParaViewCore
VTKExtensions
Default
vtkPVEnSightMasterServerTranslator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkPVEnSightMasterServerTranslator.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 vtkPVEnSightMasterServerTranslator_h
21
#define vtkPVEnSightMasterServerTranslator_h
22
23
#include "vtkExtentTranslator.h"
24
#include "vtkPVVTKExtensionsDefaultModule.h"
//needed for exports
25
26
class
VTKPVVTKEXTENSIONSDEFAULT_EXPORT
vtkPVEnSightMasterServerTranslator
27
:
public
vtkExtentTranslator
28
{
29
public
:
30
static
vtkPVEnSightMasterServerTranslator
* New();
31
vtkTypeMacro(
vtkPVEnSightMasterServerTranslator
, vtkExtentTranslator);
32
void
PrintSelf(ostream& os, vtkIndent indent);
33
35
39
vtkGetMacro(ProcessId,
int
);
40
vtkSetMacro(ProcessId,
int
);
42
44
48
int
PieceToExtentThreadSafe(
int
piece,
int
numPieces,
int
ghostLevel,
int
* wholeExtent,
49
int
* resultExtent,
int
splitMode,
int
byPoints);
50
51
protected
:
52
vtkPVEnSightMasterServerTranslator
();
53
~
vtkPVEnSightMasterServerTranslator
();
55
56
// The process id on which this translator is running.
57
int
ProcessId
;
58
59
private
:
60
vtkPVEnSightMasterServerTranslator
(
const
vtkPVEnSightMasterServerTranslator
&) VTK_DELETE_FUNCTION;
61
void
operator=(
const
vtkPVEnSightMasterServerTranslator
&) VTK_DELETE_FUNCTION;
62
};
63
64
#endif
vtkPVEnSightMasterServerTranslator::ProcessId
int ProcessId
Definition:
vtkPVEnSightMasterServerTranslator.h:57
vtkPVEnSightMasterServerTranslator
Definition:
vtkPVEnSightMasterServerTranslator.h:26
Generated by
1.8.13