if(!myFilter.GetPointer()){
myFilter = VTKViewer_AppendFilter::New();
myFilter->Delete();
+ myFilter->SetDoMappingFlag(true);
}
return myFilter;
}
const TSubProfileImpl& aSubProfileImpl = mySubProfileArr[anInputID];
return aSubProfileImpl.GetElemObjID(aID);
}
-
+ //modified by NIZNHY-PKV Tue Aug 30 11:18:46 2005f
+ //---------------------------------------------------------------
+ vtkCell* TProfileImpl::GetElemCell(int theObjID)
+ {
+ int aVtkID;
+ vtkIdType aObjID;
+ //
+ aObjID=GetElemObjID(theObjID);
+ const TVTKAppendFilter& anAppendFilter = GetFilter();
+ aVtkID=anAppendFilter->GetElemVtkID(aObjID);
+ return anAppendFilter->GetOutput()->GetCell(aVtkID);
+ }
+ //---------------------------------------------------------------
+ float* TProfileImpl::GetNodeCoord(int theObjID)
+ {
+ int aVtkID;
+ vtkIdType aObjID;
+ //
+ aObjID=GetNodeObjID(theObjID);
+ const TVTKAppendFilter& anAppendFilter = GetFilter();
+ aVtkID=anAppendFilter->GetElemVtkID(theObjID);
+ return anAppendFilter->GetOutput()->GetPoint(aVtkID);
+ }
+ //modified by NIZNHY-PKV Tue Aug 30 11:18:49 2005t
//---------------------------------------------------------------
TGaussSubMeshImpl::TGaussSubMeshImpl():
class vtkPoints;
class VTKViewer_AppendFilter;
class vtkUnstructuredGrid;
-
+//pkv f
+class vtkCell;
+//pkv t
#include "VISU_Convertor.hxx"
#include "MED_SliceArray.hxx"
vtkIdType
GetElemObjID(int theVtkI) const;
+ //pkv f
+ virtual
+ vtkCell*
+ GetElemCell(int theObjID);
+ virtual
+ float*
+ GetNodeCoord(int theObjID);
+ //pkv t
+
PNamedPointCoords myNamedPointCoords;
TSubProfileArr mySubProfileArr;