VISU_ColoredPL
::GetMemorySize()
{
- unsigned long int aSize = 0;
+ unsigned long int aSize = Superclass::GetMemorySize();
if(vtkDataSet* aDataSet = myExtractor->GetInput())
aSize = aDataSet->GetActualMemorySize() * 1024;
if(vtkDataSet* aDataSet = myFieldTransform->GetInput())
aSize += aDataSet->GetActualMemorySize() * 1024;
- aSize += Superclass::GetMemorySize();
-
return aSize;
}
VISU_CutPlanesPL
::GetMemorySize()
{
- vtkDataSet* aDataSet = myAppendPolyData->GetOutput();
- unsigned long int aSize = aDataSet->GetActualMemorySize() * 1024;
+ unsigned long int aSize = Superclass::GetMemorySize();
+
+ if(vtkDataSet* aDataSet = myAppendPolyData->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
int anEnd = myAppendPolyData->GetNumberOfInputs();
- for(int anId = 0; anId < anEnd; anId++){
- aDataSet = myAppendPolyData->GetInput(anId);
- aSize += aDataSet->GetActualMemorySize() * 1024;
- }
-
- aSize += Superclass::GetMemorySize();
+ for(int anId = 0; anId < anEnd; anId++)
+ if(vtkDataSet* aDataSet = myAppendPolyData->GetInput(anId))
+ aSize += aDataSet->GetActualMemorySize() * 1024;
return aSize;
}
VISU_DataSetMapperHolder
::GetMemorySize()
{
- unsigned long int aSize = 0;
+ unsigned long int aSize = Superclass::GetMemorySize();
if(myExtractGeometry->GetInput())
if(vtkDataSet* aDataSet = myExtractGeometry->GetOutput())
aSize = aDataSet->GetActualMemorySize() * 1024;
- aSize += Superclass::GetMemorySize();
-
return aSize;
}
VISU_DeformedShapePL
::GetMemorySize()
{
- unsigned long int aSize = 0;
+ unsigned long int aSize = Superclass::GetMemorySize();
+
if(myWarpVector->GetInput())
if(vtkDataSet* aDataSet = myWarpVector->GetOutput())
aSize += aDataSet->GetActualMemorySize() * 1024;
if(vtkDataSet* aDataSet = myCellDataToPointData->GetOutput())
aSize += aDataSet->GetActualMemorySize() * 1024;
- aSize += Superclass::GetMemorySize();
-
return aSize;
}
VISU_GaussPointsPL
::GetMemorySize()
{
- unsigned long int aSize = 0;
+ unsigned long int aSize = Superclass::GetMemorySize();
if(GetIsDeformed())
if(vtkDataSet* aDataSet = myWarpVector->GetOutput())
VISU_IsoSurfacesPL
::GetMemorySize()
{
- vtkDataSet* aDataSet = myContourFilter->GetOutput();
- unsigned long int aSize = aDataSet->GetActualMemorySize() * 1024;
-
- if(myCellDataToPointData->GetInput()){
- aDataSet = myCellDataToPointData->GetOutput();
- aSize += aDataSet->GetActualMemorySize() * 1024;
- }
+ unsigned long int aSize = Superclass::GetMemorySize();
- aSize += Superclass::GetMemorySize();
+ if(vtkDataSet* aDataSet = myContourFilter->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
+
+ if(myCellDataToPointData->GetInput())
+ if(vtkDataSet* aDataSet = myCellDataToPointData->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
return aSize;
}
VISU_Plot3DPL
::GetMemorySize()
{
- unsigned long int aSize = 0;
+ unsigned long int aSize = Superclass::GetMemorySize();
+
if(vtkDataSet* aDataSet = myGeometryFilter->GetInput())
aSize += aDataSet->GetActualMemorySize() * 1024;
aSize += aDataSet->GetActualMemorySize() * 1024;
}
- aSize += Superclass::GetMemorySize();
-
return aSize;
}
VISU_PolyDataMapperHolder
::GetMemorySize()
{
- unsigned long int aSize = 0;
+ unsigned long int aSize = Superclass::GetMemorySize();
if(myExtractPolyDataGeometry->GetInput())
if(vtkDataSet* aDataSet = myExtractPolyDataGeometry->GetOutput())
aSize = aDataSet->GetActualMemorySize() * 1024;
-
- aSize += Superclass::GetMemorySize();
return aSize;
}
VISU_ScalarMapOnDeformedShapePL
::GetMemorySize()
{
- vtkDataSet* aDataSet = myDeformVectors->GetOutput();
- unsigned long int aSize = aDataSet->GetActualMemorySize() * 1024;
-
- aDataSet = myExtractorScalars->GetOutput();
- aSize += aDataSet->GetActualMemorySize() * 1024;
+ unsigned long int aSize = Superclass::GetMemorySize();
- aDataSet = myMergeFilter->GetOutput();
- aSize += aDataSet->GetActualMemorySize() * 1024;
+ if(vtkDataSet* aDataSet = myDeformVectors->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
+
+ if(vtkDataSet* aDataSet = myExtractorScalars->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
- if(myCellDataToPointData->GetInput()){
- aDataSet = myCellDataToPointData->GetOutput();
+ if(vtkDataSet* aDataSet = myMergeFilter->GetOutput())
aSize += aDataSet->GetActualMemorySize() * 1024;
- }
- aSize += Superclass::GetMemorySize();
+ if(myCellDataToPointData->GetInput())
+ if(vtkDataSet* aDataSet = myCellDataToPointData->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
return aSize;
}
VISU_StreamLinesPL
::GetMemorySize()
{
- vtkDataSet* aDataSet = myStream->GetOutput();
- unsigned long int aSize = aDataSet->GetActualMemorySize() * 1024;
-
- aDataSet = myGeomFilter->GetOutput();
- aSize += aDataSet->GetActualMemorySize() * 1024;
+ unsigned long int aSize = Superclass::GetMemorySize();
- if(myCellDataToPointData->GetInput()){
- aDataSet = myCellDataToPointData->GetOutput();
+ if(vtkDataSet* aDataSet = myStream->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
+
+ if(vtkDataSet* aDataSet = myGeomFilter->GetOutput())
aSize += aDataSet->GetActualMemorySize() * 1024;
- }
- aSize += Superclass::GetMemorySize();
+ if(myCellDataToPointData->GetInput())
+ if(vtkDataSet* aDataSet = myCellDataToPointData->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
return aSize;
}
VISU_VectorsPL
::GetMemorySize()
{
- vtkDataSet* aDataSet = myBaseGlyph->GetOutput();
- unsigned long int aSize = aDataSet->GetActualMemorySize() * 1024;
-
- aDataSet = myTransformedGlyph->GetOutput();
- aSize += aDataSet->GetActualMemorySize() * 1024;
-
- aDataSet = myCenters->GetOutput();
- aSize += aDataSet->GetActualMemorySize() * 1024;
+ unsigned long int aSize = Superclass::GetMemorySize();
- if(myCellDataToPointData->GetInput()){
- aDataSet = myCellDataToPointData->GetOutput();
+ if(vtkDataSet* aDataSet = myBaseGlyph->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
+
+ if(vtkDataSet* aDataSet = myTransformedGlyph->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
+
+ if(vtkDataSet* aDataSet = myCenters->GetOutput())
aSize += aDataSet->GetActualMemorySize() * 1024;
- }
- aSize += Superclass::GetMemorySize();
+ if(myCellDataToPointData->GetInput())
+ if(vtkDataSet* aDataSet = myCellDataToPointData->GetOutput())
+ aSize += aDataSet->GetActualMemorySize() * 1024;
return aSize;
}