aPresent->Init();
aPresent->SetSourceRange();
vtkDataSet* anOutput = aPresent->GetMapper()->GetInput();
- for(int i = 0, iEnd = anOutput->GetNumberOfCells(); i < iEnd; i++){
- cout<<aPresent->GetPointSize(i)<<endl;
- }
+ //for(int i = 0, iEnd = anOutput->GetNumberOfCells(); i < iEnd; i++){
+ // cout<<aPresent->GetPointSize(i)<<endl;
+ //}
//aPresent->SetNumberOfContours(50);
//aPresent->SetNbParts(1);
//aPresent->SetOrientation(VISU_CutPlanesPL::XY,0.0,0.0);
//aPresent->SetScaling(VTK_SCALE_LOG10);
- char* aMainTexture = getenv( "VISU_ROOT_DIR" );
+ char aMainTexture[80];
+ strcpy( aMainTexture, getenv( "VISU_ROOT_DIR" ) );
strcat( aMainTexture, "/share/salome/resources/sprite_texture.vti" );
+ //cout << aMainTexture << endl;
- char* anAlphaTexture = getenv( "VISU_ROOT_DIR" );
+ char anAlphaTexture[80];
+ strcpy( anAlphaTexture, getenv( "VISU_ROOT_DIR" ) );
strcat( anAlphaTexture, "/share/salome/resources/sprite_alpha.vti" );
+ //cout << anAlphaTexture << endl;
aPresent->SetImageData( VISU_GaussPointsPL::MakeTexture( aMainTexture, anAlphaTexture ) );