static int INCMEMORY = 4;
vtkDataSet* aDataSet = GetPipeLine()->GetInput();
CORBA::Float aSize = aDataSet->GetActualMemorySize() * INCMEMORY * 1024.0;
- cout<<"Prs3d_i::GetMemorySize - "<<this<<"; aDataSet = "<<aSize / (1024.0 * 1024.0)<<endl;
+ //cout<<"Prs3d_i::GetMemorySize - "<<this<<"; aDataSet = "<<aSize / (1024.0 * 1024.0)<<endl;
// To calculate memory used by VISU PipeLine
aSize += GetPipeLine()->GetMemorySize();
- cout<<"Prs3d_i::GetMemorySize - "<<this<<"; GetPipeLine = "<<aSize / (1024.0 * 1024.0)<<endl;
+ //cout<<"Prs3d_i::GetMemorySize - "<<this<<"; GetPipeLine = "<<aSize / (1024.0 * 1024.0)<<endl;
// To calculate memory used by VISU Actos
int anEnd = myActorCollection->GetNumberOfItems();
if(vtkObject* anObject = myActorCollection->GetItemAsObject(anId))
if(VISU_Actor* anActor = dynamic_cast<VISU_Actor*>(anObject)){
aSize += anActor->GetMemorySize();
- cout<<"Prs3d_i::GetMemorySize - "<<this<<"; anActor = "<<aSize / (1024.0 * 1024.0)<<endl;
+ //cout<<"Prs3d_i::GetMemorySize - "<<this<<"; anActor = "<<aSize / (1024.0 * 1024.0)<<endl;
}
- cout<<endl;
+ //cout<<endl;
// Convert to mega bytes
return aSize / (1024.0 * 1024.0);
}