for(int i = 0; i < 3; i++)
myPassFilter.push_back(vtkPassThroughFilter::New());
+
+ myPrimitiveType == VISU_OpenGLPointSpriteMapper::GeomSphere;
}
myPassFilter[2]->SetInput(myPassFilter[1]->GetOutput());
GetPointSpriteMapper()->SetPrimitiveType( thePrimitiveType );
+
+ myPrimitiveType = thePrimitiveType;
}
VISU_GaussPointsPL
::GetPrimitiveType()
{
- if( myPassFilter[2]->GetInput() == myPassFilter[1]->GetOutput() ) {
- return VISU_OpenGLPointSpriteMapper::GeomSphere;
- }
-
- return GetPointSpriteMapper()->GetPrimitiveType();
+ return myPrimitiveType;
}