A collection of helper functions when building a reader interface in ParaView3. More...
Data Structures | |
class | partInfo |
Bookkeeping for GUI checklists and the multi-block organization. More... | |
Functions | |
NamespaceName ("vtkPV4Readers") | |
Declare name of the class and its debug switch. More... | |
void | AddToBlock (vtkMultiBlockDataSet *output, vtkDataSet *dataset, const partInfo &selector, const label datasetNo, const std::string &datasetName) |
Convenience method use to convert the readers from VTK 5. More... | |
vtkDataSet * | GetDataSetFromBlock (vtkMultiBlockDataSet *output, const partInfo &selector, const label datasetNo) |
Convenience method use to convert the readers from VTK 5. More... | |
label | GetNumberOfDataSets (vtkMultiBlockDataSet *output, const partInfo &selector) |
Convenience method use to convert the readers from VTK 5. More... | |
wordHashSet | getSelected (vtkDataArraySelection *select) |
Retrieve the current selections as a wordHashSet. More... | |
wordHashSet | getSelected (vtkDataArraySelection *, const partInfo &) |
Retrieve a sub-list of the current selections. More... | |
stringList | getSelectedArrayEntries (vtkDataArraySelection *) |
Retrieve the current selections. More... | |
stringList | getSelectedArrayEntries (vtkDataArraySelection *select, const partInfo &selector) |
Retrieve a sub-list of the current selections. More... | |
void | setSelectedArrayEntries (vtkDataArraySelection *, const stringList &) |
Set selection(s) More... | |
A collection of helper functions when building a reader interface in ParaView3.
Foam::vtkPV4Readers::NamespaceName | ( | "vtkPV4Readers" | ) |
Declare name of the class and its debug switch.
void AddToBlock | ( | vtkMultiBlockDataSet * | output, |
vtkDataSet * | dataset, | ||
const partInfo & | selector, | ||
const label | datasetNo, | ||
const std::string & | datasetName | ||
) |
Convenience method use to convert the readers from VTK 5.
multiblock API to the current composite data infrastructure
Definition at line 80 of file vtkPV4Readers.C.
References partInfo::block(), Foam::endl(), FatalErrorInFunction, Foam::Info, partInfo::name(), and Foam::compressible::New().
vtkDataSet * GetDataSetFromBlock | ( | vtkMultiBlockDataSet * | output, |
const partInfo & | selector, | ||
const label | datasetNo | ||
) |
Convenience method use to convert the readers from VTK 5.
multiblock API to the current composite data infrastructure
Definition at line 140 of file vtkPV4Readers.C.
References partInfo::block().
Foam::label GetNumberOfDataSets | ( | vtkMultiBlockDataSet * | output, |
const partInfo & | selector | ||
) |
Convenience method use to convert the readers from VTK 5.
multiblock API to the current composite data infrastructure ununsed at the moment
Definition at line 162 of file vtkPV4Readers.C.
References partInfo::block().
Foam::wordHashSet getSelected | ( | vtkDataArraySelection * | select | ) |
Retrieve the current selections as a wordHashSet.
Definition at line 187 of file vtkPV4Readers.C.
References HashSet< Key, Hash >::insert().
Foam::wordHashSet getSelected | ( | vtkDataArraySelection * | select, |
const partInfo & | selector | ||
) |
Retrieve a sub-list of the current selections.
Definition at line 207 of file vtkPV4Readers.C.
References partInfo::end(), HashSet< Key, Hash >::insert(), and partInfo::start().
Foam::stringList getSelectedArrayEntries | ( | vtkDataArraySelection * | select | ) |
Retrieve the current selections.
Definition at line 228 of file vtkPV4Readers.C.
References forAll, Foam::Info, and List::setSize().
Foam::stringList getSelectedArrayEntries | ( | vtkDataArraySelection * | select, |
const partInfo & | selector | ||
) |
Retrieve a sub-list of the current selections.
Definition at line 267 of file vtkPV4Readers.C.
References partInfo::end(), forAll, Foam::Info, List::setSize(), partInfo::size(), and partInfo::start().
void setSelectedArrayEntries | ( | vtkDataArraySelection * | select, |
const stringList & | selections | ||
) |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.