Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
block::IZoneData Class Referenceabstract

Access to zone scalar data in a generic way. This class maintains a list of scalar data (sxx, density, porosity, etc).
getNames() returns the names of the data available through this interface.
Which data is being accessed is specified by setIndex().
This class is used in contour plotting and profiling, as a generic way to get the same list of zone data to use for various purposes. More...

#include <izonedata.h>

Public Member Functions

virtual const itascaxd::IDatagetIData () const =0
 
virtual itascaxd::IDatagetIData ()=0
 
virtual string getProperty () const =0
 Returns the name of the property value being retrieved if the current data is Zone Property.
 
virtual bool getPropertyActive () const =0
 Returns TRUE if the current data index is a Zone Property.
 
virtual StringList getPropertiesAvailable () const =0
 Returns list of available properties.
 
virtual double getData (const IZoneThing *z, uint32 thread=0, uint32 block=0) const =0
 Retrieves scalar data from the zone, depending on the current index and property data.
 
virtual QList< uint > getInterestedIn () const =0
 
virtual void destroy ()=0
 Destroys this object safely across interface boundaries.
 
virtual void setProperty (const string &s)=0
 
virtual void initializeMultithreading (uint32 threads)=0
 

Public Attributes

shared::Signal< const string & > propertyChanged
 This SIGNAL is sent when the property name changes, used when retrieving zone properties.
 
shared::Signal< bool > propertyActiveChanged
 
shared::Signal< const StringList & > propertiesAvailableChanged
 

Detailed Description

Access to zone scalar data in a generic way. This class maintains a list of scalar data (sxx, density, porosity, etc).
getNames() returns the names of the data available through this interface.
Which data is being accessed is specified by setIndex().
This class is used in contour plotting and profiling, as a generic way to get the same list of zone data to use for various purposes.

Member Function Documentation

◆ getInterestedIn()

virtual QList< uint > block::IZoneData::getInterestedIn ( ) const
pure virtual

Returns a list of notification codes that indicate the current data type has changed.
The geometry code is implies, and so never sent here.

◆ setProperty()

virtual void block::IZoneData::setProperty ( const string & s)
pure virtual

This SLOT set the name of the property (keyword matched) used if the data type is Zone Property. It will cause a propertyChanged() signal.


The documentation for this class was generated from the following file: