Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e003b520
Commit
e003b520
authored
Oct 07, 2009
by
Mark Olesen
Browse files
PV3blockMeshReader - added display of curvedEdges
parent
4bc523b5
Changes
20
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/graphics/PV3FoamBlockMeshReader/vtkPV3FoamBlockMesh/Make/files
deleted
100644 → 0
View file @
4bc523b5
vtkPV3FoamBlockMesh.C
vtkPV3FoamBlockMeshConvert.C
vtkPV3FoamBlockMeshUtils.C
LIB = $(FOAM_LIBBIN)/libvtkPV3FoamBlockMesh
applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/Make/files
View file @
e003b520
...
...
@@ -7,6 +7,6 @@ vtkPV3FoamMeshSet.C
vtkPV3FoamMeshVolume.C
vtkPV3FoamMeshZone.C
vtkPV3FoamUpdateInfo.C
vtkPV3FoamUtil
itie
s.C
vtkPV3FoamUtils.C
LIB = $(FOAM_LIBBIN)/libvtkPV3Foam
applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3Foam.H
View file @
e003b520
...
...
@@ -45,7 +45,7 @@ SourceFiles
vtkPV3FoamPoints.H
vtkPV3FoamUpdateInfo.C
vtkPV3FoamUpdateInfoFields.H
vtkPV3FoamUtil
itie
s.C
vtkPV3FoamUtils.C
vtkPV3FoamVolFields.H
vtkPV3FoamAddToSelection.H
...
...
@@ -315,7 +315,7 @@ class vtkPV3Foam
vtkDataSet
*
dataset
,
const
partInfo
&
,
const
label
datasetNo
,
const
string
&
datasetName
const
std
::
string
&
datasetName
);
// Convenience method use to convert the readers from VTK 5
...
...
applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUtil
itie
s.C
→
applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/vtkPV3FoamUtils.C
View file @
e003b520
...
...
@@ -77,7 +77,7 @@ void Foam::vtkPV3Foam::AddToBlock
vtkDataSet
*
dataset
,
const
partInfo
&
selector
,
const
label
datasetNo
,
const
string
&
datasetName
const
std
::
string
&
datasetName
)
{
const
int
blockNo
=
selector
.
block
();
...
...
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/Allwclean
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/Allwclean
View file @
e003b520
...
...
@@ -2,7 +2,7 @@
cd
${
0
%/*
}
||
exit
1
# run from this directory
set
-x
rm
-rf
PV3
FoamB
lockMeshReader/Make
wclean libso vtkPV3
FoamB
lockMesh
rm
-rf
PV3
b
lockMeshReader/Make
wclean libso vtkPV3
b
lockMesh
# ----------------------------------------------------------------- end-of-file
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/Allwmake
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/Allwmake
View file @
e003b520
...
...
@@ -6,9 +6,9 @@ if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then
case
"
$ParaView_VERSION
"
in
3
*
)
wmake libso vtkPV3
FoamB
lockMesh
wmake libso vtkPV3
b
lockMesh
(
cd
PV3
FoamB
lockMeshReader
cd
PV3
b
lockMeshReader
mkdir
-p
Make/
$WM_OPTIONS
>
/dev/null 2>&1
cd
Make/
$WM_OPTIONS
cmake ../..
...
...
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader/CMakeLists.txt
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/PV3
b
lockMeshReader/CMakeLists.txt
View file @
e003b520
...
...
@@ -19,7 +19,7 @@ LINK_DIRECTORIES(
INCLUDE_DIRECTORIES
(
$ENV{WM_PROJECT_DIR}/src/OpenFOAM/lnInclude
$ENV{WM_PROJECT_DIR}/src/meshing/blockMesh/lnInclude
${
PROJECT_SOURCE_DIR
}
/../vtkPV3
FoamB
lockMesh
${
PROJECT_SOURCE_DIR
}
/../vtkPV3
b
lockMesh
)
ADD_DEFINITIONS
(
...
...
@@ -35,22 +35,22 @@ SET(
# Build the server-side plugin
ADD_PARAVIEW_PLUGIN
(
PV3
FoamB
lockMeshReader_SM
"1.0"
SERVER_MANAGER_XML PV3
FoamB
lockMeshReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV3
FoamB
lockMeshReader.cxx
PV3
b
lockMeshReader_SM
"1.0"
SERVER_MANAGER_XML PV3
b
lockMeshReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV3
b
lockMeshReader.cxx
)
# Build the client-side plugin
ADD_PARAVIEW_PLUGIN
(
PV3
FoamB
lockMeshReader
PV3
b
lockMeshReader
"1.0"
GUI_RESOURCES PV3
FoamB
lockMeshReader.qrc
GUI_RESOURCES PV3
b
lockMeshReader.qrc
)
TARGET_LINK_LIBRARIES
(
PV3
FoamB
lockMeshReader_SM
PV3
b
lockMeshReader_SM
OpenFOAM
blockMesh
vtkPV3
FoamB
lockMesh
vtkPV3
b
lockMesh
)
#-----------------------------------------------------------------------------
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader.qrc
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/PV3
b
lockMeshReader/PV3
b
lockMeshReader.qrc
View file @
e003b520
<RCC>
<qresource prefix="/ParaViewResources" >
<file>PV3
FoamB
lockMeshReader.xml</file>
<file>PV3
b
lockMeshReader.xml</file>
</qresource>
</RCC>
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader.xml
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/PV3
b
lockMeshReader/PV3
b
lockMeshReader.xml
View file @
e003b520
<ParaViewReaders>
<Reader
name=
"PV3
FoamB
lockMeshReader"
<Reader
name=
"PV3
b
lockMeshReader"
extensions=
"blockMesh"
file_description=
"OpenFOAM blockMesh reader"
>
</Reader>
...
...
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader_SM.xml
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/PV3
b
lockMeshReader/PV3
b
lockMeshReader_SM.xml
View file @
e003b520
<ServerManagerConfiguration>
<ProxyGroup
name=
"sources"
>
<SourceProxy
name=
"PV3
FoamB
lockMeshReader"
class=
"vtkPV3
FoamB
lockMeshReader"
>
name=
"PV3
b
lockMeshReader"
class=
"vtkPV3
b
lockMeshReader"
>
<!-- File name - compulsory -->
<StringVectorProperty
...
...
@@ -55,7 +55,7 @@
</StringVectorProperty>
<StringVectorProperty
name=
"PartStatus"
label=
"
b
lock
number
s"
label=
"
B
locks"
command=
"SetPartArrayStatus"
number_of_elements=
"0"
repeat_command=
"1"
...
...
@@ -70,6 +70,29 @@
</ArraySelectionDomain>
</StringVectorProperty>
<!-- Available Parts (blocks) array -->
<StringVectorProperty
name=
"CurvedEdgesArrayInfo"
information_only=
"1"
>
<ArraySelectionInformationHelper
attribute_name=
"CurvedEdges"
/>
</StringVectorProperty>
<StringVectorProperty
name=
"CurvedEdgesStatus"
label=
"Curved Edges"
command=
"SetCurvedEdgesArrayStatus"
number_of_elements=
"0"
repeat_command=
"1"
number_of_elements_per_command=
"2"
element_types=
"2 0"
information_property=
"CurvedEdgesArrayInfo"
animateable=
"0"
>
<ArraySelectionDomain
name=
"array_list"
>
<RequiredProperties>
<Property
name=
"CurvedEdgesArrayInfo"
function=
"ArrayList"
/>
</RequiredProperties>
</ArraySelectionDomain>
</StringVectorProperty>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader/vtkPV3
FoamB
lockMeshReader.cxx
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/PV3
b
lockMeshReader/vtkPV3
b
lockMeshReader.cxx
View file @
e003b520
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkPV3
FoamB
lockMeshReader.cxx,v $
Module: $RCSfile: vtkPV3
b
lockMeshReader.cxx,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
...
...
@@ -13,7 +13,7 @@
=========================================================================*/
#include
"vtkPV3
FoamB
lockMeshReader.h"
#include
"vtkPV3
b
lockMeshReader.h"
#include
"pqApplicationCore.h"
#include
"pqRenderView.h"
...
...
@@ -31,12 +31,12 @@
#include
"vtkStringArray.h"
// Foam includes
#include
"vtkPV3
FoamB
lockMesh.H"
#include
"vtkPV3
b
lockMesh.H"
vtkCxxRevisionMacro
(
vtkPV3
FoamB
lockMeshReader
,
"$Revision: 1.5$"
);
vtkStandardNewMacro
(
vtkPV3
FoamB
lockMeshReader
);
vtkCxxRevisionMacro
(
vtkPV3
b
lockMeshReader
,
"$Revision: 1.5$"
);
vtkStandardNewMacro
(
vtkPV3
b
lockMeshReader
);
vtkPV3
FoamB
lockMeshReader
::
vtkPV3
FoamB
lockMeshReader
()
vtkPV3
b
lockMeshReader
::
vtkPV3
b
lockMeshReader
()
{
Debug
=
0
;
vtkDebugMacro
(
<<
"Constructor"
);
...
...
@@ -50,25 +50,33 @@ vtkPV3FoamBlockMeshReader::vtkPV3FoamBlockMeshReader()
UpdateGUI
=
0
;
PartSelection
=
vtkDataArraySelection
::
New
();
CurvedEdgesSelection
=
vtkDataArraySelection
::
New
();
// Setup the selection callback to modify this object when an array
// selection is changed.
SelectionObserver
=
vtkCallbackCommand
::
New
();
SelectionObserver
->
SetCallback
(
&
vtkPV3
FoamB
lockMeshReader
::
SelectionModifiedCallback
&
vtkPV3
b
lockMeshReader
::
SelectionModifiedCallback
);
SelectionObserver
->
SetClientData
(
this
);
PartSelection
->
AddObserver
(
vtkCommand
::
ModifiedEvent
,
this
->
SelectionObserver
);
CurvedEdgesSelection
->
AddObserver
(
vtkCommand
::
ModifiedEvent
,
this
->
SelectionObserver
);
}
vtkPV3
FoamB
lockMeshReader
::~
vtkPV3
FoamB
lockMeshReader
()
vtkPV3
b
lockMeshReader
::~
vtkPV3
b
lockMeshReader
()
{
vtkDebugMacro
(
<<
"Deconstructor"
);
...
...
@@ -80,15 +88,15 @@ vtkPV3FoamBlockMeshReader::~vtkPV3FoamBlockMeshReader()
}
PartSelection
->
RemoveObserver
(
this
->
SelectionObserver
);
CurvedEdgesSelection
->
RemoveObserver
(
this
->
SelectionObserver
);
SelectionObserver
->
Delete
();
PartSelection
->
Delete
();
}
// Do everything except set the output info
int
vtkPV3
FoamB
lockMeshReader
::
RequestInformation
int
vtkPV3
b
lockMeshReader
::
RequestInformation
(
vtkInformation
*
vtkNotUsed
(
request
),
vtkInformationVector
**
vtkNotUsed
(
inputVector
),
...
...
@@ -97,7 +105,7 @@ int vtkPV3FoamBlockMeshReader::RequestInformation
{
vtkDebugMacro
(
<<
"RequestInformation"
);
if
(
Foam
::
vtkPV3
FoamB
lockMesh
::
debug
)
if
(
Foam
::
vtkPV3
b
lockMesh
::
debug
)
{
cout
<<
"REQUEST_INFORMATION
\n
"
;
}
...
...
@@ -110,7 +118,7 @@ int vtkPV3FoamBlockMeshReader::RequestInformation
int
nInfo
=
outputVector
->
GetNumberOfInformationObjects
();
if
(
Foam
::
vtkPV3
FoamB
lockMesh
::
debug
)
if
(
Foam
::
vtkPV3
b
lockMesh
::
debug
)
{
cout
<<
"RequestInformation with "
<<
nInfo
<<
" item(s)
\n
"
;
for
(
int
infoI
=
0
;
infoI
<
nInfo
;
++
infoI
)
...
...
@@ -121,7 +129,7 @@ int vtkPV3FoamBlockMeshReader::RequestInformation
if
(
!
foamData_
)
{
foamData_
=
new
Foam
::
vtkPV3
FoamB
lockMesh
(
FileName
,
this
);
foamData_
=
new
Foam
::
vtkPV3
b
lockMesh
(
FileName
,
this
);
}
else
{
...
...
@@ -145,7 +153,7 @@ int vtkPV3FoamBlockMeshReader::RequestInformation
// Set the output info
int
vtkPV3
FoamB
lockMeshReader
::
RequestData
int
vtkPV3
b
lockMeshReader
::
RequestData
(
vtkInformation
*
vtkNotUsed
(
request
),
vtkInformationVector
**
vtkNotUsed
(
inputVector
),
...
...
@@ -169,7 +177,7 @@ int vtkPV3FoamBlockMeshReader::RequestData
int
nInfo
=
outputVector
->
GetNumberOfInformationObjects
();
if
(
Foam
::
vtkPV3
FoamB
lockMesh
::
debug
)
if
(
Foam
::
vtkPV3
b
lockMesh
::
debug
)
{
cout
<<
"RequestData with "
<<
nInfo
<<
" item(s)
\n
"
;
for
(
int
infoI
=
0
;
infoI
<
nInfo
;
++
infoI
)
...
...
@@ -186,7 +194,7 @@ int vtkPV3FoamBlockMeshReader::RequestData
)
);
if
(
Foam
::
vtkPV3
FoamB
lockMesh
::
debug
)
if
(
Foam
::
vtkPV3
b
lockMesh
::
debug
)
{
cout
<<
"update output with "
<<
output
->
GetNumberOfBlocks
()
<<
" blocks
\n
"
;
...
...
@@ -203,7 +211,7 @@ int vtkPV3FoamBlockMeshReader::RequestData
}
void
vtkPV3
FoamB
lockMeshReader
::
updatePointNumbersView
(
const
bool
show
)
void
vtkPV3
b
lockMeshReader
::
updatePointNumbersView
(
const
bool
show
)
{
pqApplicationCore
*
appCore
=
pqApplicationCore
::
instance
();
...
...
@@ -224,7 +232,7 @@ void vtkPV3FoamBlockMeshReader::updatePointNumbersView(const bool show)
}
void
vtkPV3
FoamB
lockMeshReader
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
void
vtkPV3
b
lockMeshReader
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
{
vtkDebugMacro
(
<<
"PrintSelf"
);
...
...
@@ -239,35 +247,39 @@ void vtkPV3FoamBlockMeshReader::PrintSelf(ostream& os, vtkIndent indent)
// ----------------------------------------------------------------------
// Parts selection list control
vtkDataArraySelection
*
vtkPV3
FoamB
lockMeshReader
::
GetPartSelection
()
vtkDataArraySelection
*
vtkPV3
b
lockMeshReader
::
GetPartSelection
()
{
vtkDebugMacro
(
<<
"GetPartSelection"
);
return
PartSelection
;
}
int
vtkPV3
FoamB
lockMeshReader
::
GetNumberOfPartArrays
()
int
vtkPV3
b
lockMeshReader
::
GetNumberOfPartArrays
()
{
vtkDebugMacro
(
<<
"GetNumberOfPartArrays"
);
return
PartSelection
->
GetNumberOfArrays
();
}
const
char
*
vtkPV3
FoamB
lockMeshReader
::
GetPartArrayName
(
int
index
)
const
char
*
vtkPV3
b
lockMeshReader
::
GetPartArrayName
(
int
index
)
{
vtkDebugMacro
(
<<
"GetPartArrayName"
);
return
PartSelection
->
GetArrayName
(
index
);
}
int
vtkPV3
FoamB
lockMeshReader
::
GetPartArrayStatus
(
const
char
*
name
)
int
vtkPV3
b
lockMeshReader
::
GetPartArrayStatus
(
const
char
*
name
)
{
vtkDebugMacro
(
<<
"GetPartArrayStatus"
);
return
PartSelection
->
ArrayIsEnabled
(
name
);
}
void
vtkPV3FoamBlockMeshReader
::
SetPartArrayStatus
(
const
char
*
name
,
int
status
)
void
vtkPV3blockMeshReader
::
SetPartArrayStatus
(
const
char
*
name
,
int
status
)
{
vtkDebugMacro
(
<<
"SetPartArrayStatus"
);
if
(
status
)
...
...
@@ -281,9 +293,58 @@ void vtkPV3FoamBlockMeshReader::SetPartArrayStatus(const char* name, int status)
}
// ----------------------------------------------------------------------
// CurvedEdges selection list control
vtkDataArraySelection
*
vtkPV3blockMeshReader
::
GetCurvedEdgesSelection
()
{
vtkDebugMacro
(
<<
"GetCurvedEdgesSelection"
);
return
CurvedEdgesSelection
;
}
int
vtkPV3blockMeshReader
::
GetNumberOfCurvedEdgesArrays
()
{
vtkDebugMacro
(
<<
"GetNumberOfCurvedEdgesArrays"
);
return
CurvedEdgesSelection
->
GetNumberOfArrays
();
}
const
char
*
vtkPV3blockMeshReader
::
GetCurvedEdgesArrayName
(
int
index
)
{
vtkDebugMacro
(
<<
"GetCurvedEdgesArrayName"
);
return
CurvedEdgesSelection
->
GetArrayName
(
index
);
}
int
vtkPV3blockMeshReader
::
GetCurvedEdgesArrayStatus
(
const
char
*
name
)
{
vtkDebugMacro
(
<<
"GetCurvedEdgesArrayStatus"
);
return
CurvedEdgesSelection
->
ArrayIsEnabled
(
name
);
}
void
vtkPV3blockMeshReader
::
SetCurvedEdgesArrayStatus
(
const
char
*
name
,
int
status
)
{
vtkDebugMacro
(
<<
"SetCurvedEdgesArrayStatus"
);
if
(
status
)
{
CurvedEdgesSelection
->
EnableArray
(
name
);
}
else
{
CurvedEdgesSelection
->
DisableArray
(
name
);
}
}
// ----------------------------------------------------------------------
void
vtkPV3
FoamB
lockMeshReader
::
SelectionModifiedCallback
void
vtkPV3
b
lockMeshReader
::
SelectionModifiedCallback
(
vtkObject
*
,
unsigned
long
,
...
...
@@ -291,18 +352,18 @@ void vtkPV3FoamBlockMeshReader::SelectionModifiedCallback
void
*
)
{
static_cast
<
vtkPV3
FoamB
lockMeshReader
*>
(
clientdata
)
->
SelectionModified
();
static_cast
<
vtkPV3
b
lockMeshReader
*>
(
clientdata
)
->
SelectionModified
();
}
void
vtkPV3
FoamB
lockMeshReader
::
SelectionModified
()
void
vtkPV3
b
lockMeshReader
::
SelectionModified
()
{
vtkDebugMacro
(
<<
"SelectionModified"
);
Modified
();
}
int
vtkPV3
FoamB
lockMeshReader
::
FillOutputPortInformation
int
vtkPV3
b
lockMeshReader
::
FillOutputPortInformation
(
int
port
,
vtkInformation
*
info
...
...
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/PV3
FoamB
lockMeshReader/vtkPV3
FoamB
lockMeshReader.h
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/PV3
b
lockMeshReader/vtkPV3
b
lockMeshReader.h
View file @
e003b520
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkPV3
FoamB
lockMeshReader.h,v $
Module: $RCSfile: vtkPV3
b
lockMeshReader.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
...
...
@@ -12,18 +12,18 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkPV3
FoamB
lockMeshReader - reads a dataset in OpenFOAM bockMesh format
// .NAME vtkPV3
b
lockMeshReader - reads a dataset in OpenFOAM bockMesh format
// .SECTION Description
// vtkPV3
FoamB
lockMeshReader creates an multiblock dataset.
// vtkPV3
b
lockMeshReader creates an multiblock dataset.
// It uses the OpenFOAM infrastructure (blockMesh).
#ifndef __vtkPV3
FoamB
lockMeshReader_h
#define __vtkPV3
FoamB
lockMeshReader_h
#ifndef __vtkPV3
b
lockMeshReader_h
#define __vtkPV3
b
lockMeshReader_h
// Foam forward declarations
namespace
Foam
{
class
vtkPV3
FoamB
lockMesh
;
class
vtkPV3
b
lockMesh
;
}
// VTK includes
...
...
@@ -34,15 +34,15 @@ class vtkDataArraySelection;
class
vtkCallbackCommand
;
class
VTK_IO_EXPORT
vtkPV3
FoamB
lockMeshReader
class
VTK_IO_EXPORT
vtkPV3
b
lockMeshReader
:
public
vtkMultiBlockDataSetAlgorithm
{
public:
vtkTypeRevisionMacro
(
vtkPV3
FoamB
lockMeshReader
,
vtkMultiBlockDataSetAlgorithm
);
vtkTypeRevisionMacro
(
vtkPV3
b
lockMeshReader
,
vtkMultiBlockDataSetAlgorithm
);
void
PrintSelf
(
ostream
&
,
vtkIndent
);
static
vtkPV3
FoamB
lockMeshReader
*
New
();
static
vtkPV3
b
lockMeshReader
*
New
();
// Description:
// Set/Get the filename.
...
...
@@ -63,10 +63,18 @@ public:
// Parts (blocks) selection list control
vtkDataArraySelection
*
GetPartSelection
();
int
GetNumberOfPartArrays
();
int
GetPartArrayStatus
(
const
char
*
name
);
void
SetPartArrayStatus
(
const
char
*
name
,
int
status
);
int
GetPartArrayStatus
(
const
char
*
);
void
SetPartArrayStatus
(
const
char
*
,
int
status
);
const
char
*
GetPartArrayName
(
int
index
);
// Description:
// Parts (blocks) selection list control
vtkDataArraySelection
*
GetCurvedEdgesSelection
();
int
GetNumberOfCurvedEdgesArrays
();
int
GetCurvedEdgesArrayStatus
(
const
char
*
);
void
SetCurvedEdgesArrayStatus
(
const
char
*
,
int
status
);
const
char
*
GetCurvedEdgesArrayName
(
int
index
);
// Description:
// Callback registered with the SelectionObserver
// for all the selection lists
...
...
@@ -84,10 +92,10 @@ public:
protected:
//- Construct null
vtkPV3
FoamB
lockMeshReader
();
vtkPV3
b
lockMeshReader
();
//- Destructor
~
vtkPV3
FoamB
lockMeshReader
();
~
vtkPV3
b
lockMeshReader
();
//- Return information about mesh, times, etc without loading anything
virtual
int
RequestInformation
...
...
@@ -116,10 +124,10 @@ protected:
private:
//- Disallow default bitwise copy construct
vtkPV3
FoamB
lockMeshReader
(
const
vtkPV3
FoamB
lockMeshReader
&
);
vtkPV3
b
lockMeshReader
(
const
vtkPV3
b
lockMeshReader
&
);
//- Disallow default bitwise assignment
void
operator
=
(
const
vtkPV3
FoamB
lockMeshReader
&
);
void
operator
=
(
const
vtkPV3
b
lockMeshReader
&
);
//- Add/remove point numbers to/from the view
void
updatePointNumbersView
(
const
bool
show
);
...
...
@@ -131,8 +139,10 @@ private:
vtkDataArraySelection
*
PartSelection
;
vtkDataArraySelection
*
CurvedEdgesSelection
;
//BTX
Foam
::
vtkPV3
FoamB
lockMesh
*
foamData_
;
Foam
::
vtkPV3
b
lockMesh
*
foamData_
;
//ETX
};
...
...
applications/utilities/postProcessing/graphics/PV3blockMeshReader/vtkPV3blockMesh/Make/files
0 → 100644
View file @
e003b520
vtkPV3blockMesh.C
vtkPV3blockMeshConvert.C
vtkPV3blockMeshUtils.C
LIB = $(FOAM_LIBBIN)/libvtkPV3blockMesh
applications/utilities/postProcessing/graphics/PV3
FoamB
lockMeshReader/vtkPV3
FoamB
lockMesh/Make/options
→
applications/utilities/postProcessing/graphics/PV3
b
lockMeshReader/vtkPV3
b
lockMesh/Make/options
View file @
e003b520
...
...
@@ -7,7 +7,7 @@ EXE_INC = \
-I$(ParaView_INST_DIR)/VTK/Common \
-I$(ParaView_INST_DIR)/VTK/Filtering \
-I$(ParaView_INST_DIR)/VTK/Rendering \
-I../PV3