aVertex[i].vy = p->GetPoint( pts[0] )[1];
aVertex[i].vz = p->GetPoint( pts[0] )[2];
- if( colors )
+ if( colors && this->PointSpriteResults )
{
unsigned char *col = colors->GetPointer(pts[0]<< 2);
aVertex[i].r = ( ( int )col[0] ) / 255.0;
// are they cell or point scalars
if ( this->Colors )
{
+ cout << 111 << endl;
colors = this->Colors;
if ( (this->ScalarMode == VTK_SCALAR_MODE_USE_CELL_DATA ||
this->ScalarMode == VTK_SCALAR_MODE_USE_CELL_FIELD_DATA ||
cellScalars = 1;
}
}
+ else
+ cout << 222 << endl;
unsigned long idx = 0;
if (colors)