namespace VISU
{
+ //---------------------------------------------------------------
+ std::string
+ GenerateFieldName(const PFieldImpl& theField,
+ const PValForTimeImpl& theValForTime)
+ {
+ const VISU::TTime& aTime = theValForTime->myTime;
+ string aFieldName = theField->myMeshName + ", " + theField->myName + ": " +
+ VISU_Convertor::GenerateName(aTime);
+ return aFieldName;
+ }
+
+
//---------------------------------------------------------------
/*! Computes number of points by the given number of cells
* in assumption of regular hexahedral mesh structure
SetTuple(vtkIdType theTupleId,
TVTKBasicType* thePointer)
{
- this->WritePointer(myDataArray, theTupleId, thePointer);
- this->WritePointer(myDataArray2, theTupleId, thePointer);
+ this->WritePointer(this->myDataArray, theTupleId, thePointer);
+ this->WritePointer(this->myDataArray2, theTupleId, thePointer);
}
};
const VISU::TEntity& theEntity)
{
vtkIdType aNbTuples = theField->myDataSize / theField->myNbComp;
- std::string aFieldName = GenerateFieldName(theField, theValForTime);
+ std::string aFieldName = VISU::GenerateFieldName(theField, theValForTime);
vtkDataSetAttributes* aDataSetAttributes;
switch(theEntity){
const PValForTimeImpl& theValForTime)
{
vtkIdType aNbTuples = theSource->GetNumberOfPoints();
- std::string aFieldName = GenerateFieldName(theField, theValForTime);
+ std::string aFieldName = VISU::GenerateFieldName(theField, theValForTime);
vtkDataSetAttributes* aDataSetAttributes;
switch(theField->myEntity){
}
- //---------------------------------------------------------------
- std::string
- GenerateFieldName(const PFieldImpl& theField,
- const PValForTimeImpl& theValForTime)
- {
- const VISU::TTime& aTime = theValForTime->myTime;
- string aFieldName = theField->myMeshName + ", " + theField->myName + ": " +
- VISU_Convertor::GenerateName(aTime);
- return aFieldName;
- }
-
-
//---------------------------------------------------------------
void
GetCells(const TVTKSource& theSource,