Back to index

salome-paravis  6.5.0
Public Member Functions | Public Attributes
vtkMedReader::vtkMedReaderInternal Class Reference
Collaboration diagram for vtkMedReader::vtkMedReaderInternal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkMedReaderInternal ()
 ~vtkMedReaderInternal ()
void ClearSupportCache (vtkMedFamilyOnEntityOnProfile *foep)
vtkIdType GetChild (vtkIdType parent, const vtkStdString childName)
vtkIdType GetGroupId (const char *key)

Public Attributes

int NumberOfPieces
int CurrentPieceNumber
int GhostLevel
double UpdateTimeStep
vtkTimeStamp FileNameMTime
vtkTimeStamp MetaDataMTime
vtkTimeStamp GroupSelectionMTime
vtkTimeStamp FamilySelectionMTime
int SILUpdateStamp
int RealAnimationMode
vtkMedSelection * Families
std::map< med_float, std::set
< med_int > > 
GlobalComputeStep
vtkMutableDirectedGraph * SIL
map
< vtkMedFamilyOnEntityOnProfile
*, vtkSmartPointer< vtkDataSet > > 
DataSetCache
map
< vtkMedFamilyOnEntityOnProfile
*, vtkDataSet * > 
CurrentDataSet
map
< vtkMedFamilyOnEntityOnProfile
*, map< vtkMedFieldOnProfile
*, VTKField > > 
FieldCache
set
< vtkMedFamilyOnEntityOnProfile * > 
UsedSupports
map
< vtkMedFamilyOnEntityOnProfile
*, map< LocalizationKey,
vtkSmartPointer
< vtkIdTypeArray > > > 
QuadratureOffsetCache
map
< vtkMedFamilyOnEntityOnProfile
*, map< vtkMedFieldOnProfile
*, LocalizationKey > > 
QuadOffsetKey
std::map< std::string,
vtkSmartPointer< vtkMedFile > > 
MedFiles

Detailed Description

Definition at line 98 of file vtkMedReader.cxx.


Constructor & Destructor Documentation

Definition at line 146 of file vtkMedReader.cxx.

  {
    this->SIL=vtkMutableDirectedGraph::New();
    this->SILUpdateStamp=-1;
    this->RealAnimationMode=vtkMedReader::PhysicalTime;
    this->Families=vtkMedSelection::New();
    this->FamilySelectionMTime.Modified();
    this->GroupSelectionMTime.Modified();
  }

Definition at line 155 of file vtkMedReader.cxx.

  {
    this->SIL->Delete();
    this->Families->Delete();
  }

Member Function Documentation

void vtkMedReader::vtkMedReaderInternal::ClearSupportCache ( vtkMedFamilyOnEntityOnProfile *  foep) [inline]

Definition at line 161 of file vtkMedReader.cxx.

  {
    //this->Med2VTKPointIndex.erase(foep);
    this->QuadratureOffsetCache.erase(foep);
    //this->FieldMatchCache.erase(foe);
    this->FieldCache.erase(foep);
    this->CurrentDataSet.erase(foep);
    this->DataSetCache.erase(foep);
  }
vtkIdType vtkMedReader::vtkMedReaderInternal::GetChild ( vtkIdType  parent,
const vtkStdString  childName 
) [inline]

Definition at line 171 of file vtkMedReader.cxx.

  {
    vtkStringArray* names=vtkStringArray::SafeDownCast(
        this->SIL->GetVertexData()->GetArray("Names"));
    if(names==NULL)
      return -1;
    vtkIdType nedges=this->SIL->GetOutDegree(parent);
    for(vtkIdType id=0; id<nedges; id++)
      {
      vtkOutEdgeType edge=this->SIL->GetOutEdge(parent, id);
      if(names->GetValue(edge.Target)==childName)
        return edge.Target;
      }
    return -1;
  }
vtkIdType vtkMedReader::vtkMedReaderInternal::GetGroupId ( const char *  key) [inline]

Definition at line 187 of file vtkMedReader.cxx.

  {
    vtkstd::string meshname, celltypename, groupname;
    vtkMedUtilities::SplitGroupKey(key, meshname, celltypename, groupname);
    vtkIdType root=GetChild(0, "SIL");
    if(root==-1)
      return -1;
    vtkIdType mesh=GetChild(root, meshname);
    if(mesh==-1)
      return -1;
    vtkIdType type=GetChild(mesh, celltypename);
    if(type==-1)
      return -1;
    return GetChild(type, groupname);

  }

Member Data Documentation

map<vtkMedFamilyOnEntityOnProfile*, vtkDataSet*> vtkMedReader::vtkMedReaderInternal::CurrentDataSet

Definition at line 125 of file vtkMedReader.cxx.

Definition at line 102 of file vtkMedReader.cxx.

map<vtkMedFamilyOnEntityOnProfile*, vtkSmartPointer<vtkDataSet> > vtkMedReader::vtkMedReaderInternal::DataSetCache

Definition at line 122 of file vtkMedReader.cxx.

Definition at line 111 of file vtkMedReader.cxx.

Definition at line 108 of file vtkMedReader.cxx.

map<vtkMedFamilyOnEntityOnProfile*, map<vtkMedFieldOnProfile*, VTKField> > vtkMedReader::vtkMedReaderInternal::FieldCache

Definition at line 128 of file vtkMedReader.cxx.

Definition at line 105 of file vtkMedReader.cxx.

Definition at line 103 of file vtkMedReader.cxx.

std::map<med_float, std::set<med_int> > vtkMedReader::vtkMedReaderInternal::GlobalComputeStep

Definition at line 115 of file vtkMedReader.cxx.

Definition at line 107 of file vtkMedReader.cxx.

std::map<std::string, vtkSmartPointer<vtkMedFile> > vtkMedReader::vtkMedReaderInternal::MedFiles

Definition at line 144 of file vtkMedReader.cxx.

Definition at line 106 of file vtkMedReader.cxx.

Definition at line 101 of file vtkMedReader.cxx.

map<vtkMedFamilyOnEntityOnProfile*, map<vtkMedFieldOnProfile*, LocalizationKey> > vtkMedReader::vtkMedReaderInternal::QuadOffsetKey

Definition at line 142 of file vtkMedReader.cxx.

map<vtkMedFamilyOnEntityOnProfile*, map<LocalizationKey, vtkSmartPointer<vtkIdTypeArray> > > vtkMedReader::vtkMedReaderInternal::QuadratureOffsetCache

Definition at line 139 of file vtkMedReader.cxx.

Definition at line 110 of file vtkMedReader.cxx.

vtkMutableDirectedGraph* vtkMedReader::vtkMedReaderInternal::SIL

Definition at line 118 of file vtkMedReader.cxx.

Definition at line 109 of file vtkMedReader.cxx.

Definition at line 104 of file vtkMedReader.cxx.

set<vtkMedFamilyOnEntityOnProfile*> vtkMedReader::vtkMedReaderInternal::UsedSupports

Definition at line 132 of file vtkMedReader.cxx.


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