mIsAllVisibleEnabled = false;
mNumberOfVisibleROI = 0;
mNumberOfVisibleContourROI = 0;
- mDefaultLUTColor = vtkLookupTable::New();
+ mDefaultLUTColor = vtkSmartPointer<vtkLookupTable>::New();
for(int i=0; i<mDefaultLUTColor->GetNumberOfTableValues(); i++) {
double r = (rand()/(RAND_MAX+1.0));
double v = (rand()/(RAND_MAX+1.0));
int mCurrentStructureSetIndex;
clitk::DicomRT_ROI * mCurrentROI;
vvROIActor * mCurrentROIActor;
- vtkLookupTable * mDefaultLUTColor;
+ vtkSmartPointer<vtkLookupTable> mDefaultLUTColor;
bool mIsAllVisibleEnabled;
int mNumberOfVisibleROI;
int mNumberOfVisibleContourROI;