|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
SelectionStates | GetBaseState (const char *basename) const |
| Returns the status for a base with the given name. More...
|
|
SelectionStates | GetFamilyState (const char *familyname) const |
| Returns the status for a family. More...
|
|
SelectionStates | GetZoneState (const char *basename, const char *zonename) const |
| Returns the state for a zone under a given base. More...
|
|
bool | ReadGridForZone (const char *basename, const char *zonename) const |
| Returns true if the grid/mesh for the given zone is selected. More...
|
|
bool | ReadPatchesForZone (const char *basename, const char *zonename) const |
| Returns true if any of the patches for a given zone are enabled. More...
|
|
bool | ReadPatchesForBase (const char *basename) const |
| Returns true if any of the patches for a given base are enabled. More...
|
|
bool | ReadPatch (const char *basename, const char *zonename, const char *patchname) const |
| Returns true of a patch identified by basename, zonename and patchname is enabled. More...
|
|
|
void | SelectBase (const char *basename) |
| Select/deselect the base state. More...
|
|
void | DeselectBase (const char *basename) |
| Select/deselect the base state. More...
|
|
void | SelectAllBases () |
| Select/deselect the base state. More...
|
|
void | DeselectAllBases () |
| Select/deselect the base state. More...
|
|
|
int | GetNumberOfBases () const |
| API to query information about bases. More...
|
|
const char * | GetBaseName (int index) const |
| API to query information about bases. More...
|
|
|
void | SelectFamily (const char *familyname) |
| Select/deselect a family. More...
|
|
void | DeselectFamily (const char *familyname) |
| Select/deselect a family. More...
|
|
void | SelectAllFamilies () |
| Select/deselect a family. More...
|
|
void | DeselectAllFamilies () |
| Select/deselect a family. More...
|
|
|
int | GetNumberOfFamilies () const |
| API to query information about families. More...
|
|
const char * | GetFamilyName (int index) const |
| API to query information about families. More...
|
|
|
int | AddZoneNode (const char *basename, int parentnode) |
| Convenience API to add nodes. More...
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
|
void | Initialize () |
| Initializes the SIL. More...
|
|
std::string | Serialize () const |
| Saves the SIL state to a string. More...
|
|
void | DeepCopy (const vtkSubsetInclusionLattice *other) |
| Copies the contents from other . More...
|
|
void | Merge (const std::string &state) |
| Merges with state from another instance. More...
|
|
void | Merge (const vtkSubsetInclusionLattice *other) |
| Merges with another instance of vtkSubsetInclusionLattice. More...
|
|
int | AddNode (const char *name, int parent=0) |
| Add a node to the SIL. More...
|
|
int | AddNodeAtPath (const char *path) |
| Add a node to the SIL at the given path. More...
|
|
bool | AddCrossLink (int src, int dst) |
| A cross link is directed link between nodes in two sub-trees. More...
|
|
int | FindNode (const char *path) const |
| Find the id for a node given a path expression to locate it. More...
|
|
SelectionStates | GetSelectionState (int node) const |
| Get the current state for a specific node. More...
|
|
SelectionStates | GetSelectionState (const char *path) const |
| Get the current state for a node given its path. More...
|
|
bool | Select (const char *path) |
| Select a node. More...
|
|
bool | Deselect (const char *path) |
| Deselect a node. More...
|
|
void | ClearSelections () |
| Clears all selection statuses. More...
|
|
bool | Deserialize (const std::string &data) |
| Deserializes the SIL state from a string. More...
|
|
bool | Deserialize (const char *data) |
| Deserializes the SIL state from a string. More...
|
|
bool | Select (int node) |
| Select/deselect nodes using their node id's. More...
|
|
bool | Deselect (int node) |
| Select/deselect nodes using their node id's. More...
|
|
bool | SelectAll (const char *path) |
| Select/Deselect all nodes that match the path. More...
|
|
bool | DeselectAll (const char *path) |
| This defines the type for selection states for nodes exposed by API. More...
|
|
virtual vtkMTimeType | GetSelectionChangeTime () |
| Returns the time stamp for the most recent selection state change. More...
|
|
std::vector< int > | GetChildren (int node) const |
| Returns a vector of node ids for child nodes of a node. More...
|
|
int | GetParent (int node, int *childIndex=nullptr) const |
| Returns the id for the parent of a node. More...
|
|
const char * | GetNodeName (int node) const |
| Returns a node's name. More...
|
|
SelectionType | GetSelection () const |
| Get the paths for currently selected/deselected nodes. More...
|
|
void | SetSelection (const SelectionType &selection) |
| Set the paths for nodes to select. More...
|
|
void | Modified () override |
| Overridden to modify SelectionChangeTime, since any time the SIL structure is modified, it's akin to selection states being modified. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual vtkMTimeType | GetMTime () |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
void | PrintRevisions (ostream &) |
|
extends vtkSubsetInclusionLattice to CGNS friendly API.
vtkCGNSSubsetInclusionLattice simply makes it easier for users (and the vtkCGNSReader) to query vtkSubsetInclusionLattice using CGNS terminology.
- Zone names and partitioned files
vtkCGNSFileSeriesReader supports reading of a partitioned file series where each file has all timesteps but only the data from the rank the file was written out on. In those cases, some sims use suffixes for zone names to identify proc number e.g. blk-1_proc-0
, blk-1_proc-1
, etc. Since this has a tendency to make the SIL unwieldy, we sanitize zonenames by default to remove the _proc-.*
suffix. All API on vtkCGNSFileSeriesReader that takes a zonename sanitizes it. If you use API on vtkSubsetInclusionLattice you may need to sanitize zonenames manually by calling SanitizeZoneName
.
Definition at line 40 of file vtkCGNSSubsetInclusionLattice.h.