// Create the color map
if (bbGetInputColorType()==1)
{
- colorLookupTableWL = vtkWindowLevelLookupTable::New();
- colorLookupTable=colorLookupTableWL;
+ colorLookupTableWL = vtkWindowLevelLookupTable::New();
+ colorLookupTableWL->InverseVideoOn();
+ colorLookupTable = colorLookupTableWL;
} else {
colorLookupTable = vtkLookupTable::New();
}
}
-
-
-
-
-
bbGetInputMesh()->GetPointData()->SetScalars(colors);
if (bbGetInputColorType()==1)
bbGetInputTransform()->Update();
}
- unsigned short gl;
+ double gl;
double p1[3];
double p2[3];
double dcolor[3];
bbSetInputColorWindow(500);
bbSetInputTransform(NULL);
- firsttime = true;
- colors = NULL;
- colorLookupTable = NULL;
+ firsttime = true;
+ colors = NULL;
+ colorLookupTable = NULL;
colorLookupTableWL = NULL;
}
//=====