ENH: improve file reader support for runTimePostProcessing (#1091)
- support .vtp format for geometry, surface, line, cloud. - use native reader for handling vtk, vtp, obj, stl surface files. For other formats, use the MeshedSurface (the surfMesh lib) to handle reading and Foam::vtk::Tools::Patch to handle the conversion to vtkPolyData. This combination is more memory efficient. - update tutorial case to include vtp surface geometry
This commit is contained in:
@ -56,20 +56,9 @@ class functionObjectCloud
|
||||
public pointData,
|
||||
public functionObjectBase
|
||||
{
|
||||
private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- No copy construct
|
||||
functionObjectCloud(const functionObjectCloud&) = delete;
|
||||
|
||||
//- No copy assignment
|
||||
void operator=(const functionObjectCloud&) = delete;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// Protected data
|
||||
// Protected Data
|
||||
|
||||
//- Name of functionObjectCloud
|
||||
word cloudName_;
|
||||
@ -83,6 +72,16 @@ protected:
|
||||
//- Actor
|
||||
vtkSmartPointer<vtkActor> actor_;
|
||||
|
||||
|
||||
// Protected Member Functions
|
||||
|
||||
//- No copy construct
|
||||
functionObjectCloud(const functionObjectCloud&) = delete;
|
||||
|
||||
//- No copy assignment
|
||||
void operator=(const functionObjectCloud&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Run-time type information
|
||||
@ -96,7 +95,7 @@ public:
|
||||
(
|
||||
const runTimePostProcessing& parent,
|
||||
const dictionary& dict,
|
||||
const HashPtrTable<Function1<vector>, word>& colours
|
||||
const HashPtrTable<Function1<vector>>& colours
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user