}
}
//-----------------------------------------------------------------------------
+void VISU_OpenGLPointSpriteMapper::ShallowCopy( vtkAbstractMapper* mapper )
+{
+ VISU_OpenGLPointSpriteMapper* m = VISU_OpenGLPointSpriteMapper::SafeDownCast(mapper);
+ if( m != NULL )
+ {
+ this->SetPointSpriteClamp( m->GetPointSpriteClamp() );
+ this->SetPointSpriteSize( m->GetPointSpriteSize() );
+ this->SetPointSpriteMinSize( m->GetPointSpriteMinSize() );
+ this->SetPointSpriteMaxSize( m->GetPointSpriteMaxSize() );
+ this->SetPointSpriteMagnification( m->GetPointSpriteMagnification() );
+ }
+ MAPPER_SUPERCLASS::ShallowCopy(mapper);
+
+}
+//-----------------------------------------------------------------------------
char* readFromFile( std::string fileName )
{
FILE* file = fopen( fileName.c_str(), "r" );
vtkTypeRevisionMacro(VISU_OpenGLPointSpriteMapper,MAPPER_SUPERCLASS);
virtual void PrintSelf(ostream& os, vtkIndent indent);
+ void ShallowCopy(vtkAbstractMapper*);
+
// Description:
// Specify the name of a scalar array which will be used to control
// the alpha value of each point. The values should be between 0,1