void SetLineWidth(double w);
void SetImage(vvImage * image);
void SetPreserveMemoryModeEnabled(bool b);
+ void SetDepth(double d) { mDepth = d; }
protected:
vvSlicer * mSlicer;
bool mHiddenImageIsUsed;
vvImage * mHiddenImage;
bool mDisplayModeIsPreserveMemory;
+ double mDepth;
// For preserveMemory mode
std::vector<vtkSmartPointer<vtkActor> > mSquaresActorList;
void UpdateWithPreserveMemoryMode();
void UpdateWithFastCacheMode();
void CreateNewActor(int numImage);
- void UpdateActor(vtkActor * actor, vtkMarchingSquares * squares, vtkImageClip * clipper,
+ void UpdateActor(vtkActor * actor, vtkPolyDataMapper * mapper, vtkMarchingSquares * squares, vtkImageClip * clipper,
double threshold, int orientation, int slice);
void CreateActor(int orientation, int slice);
int ComputeCurrentOrientation();
private:
vvImageContour();
~vvImageContour();
+ int mPreviousTslice;
}; // end class vvImageContour
//------------------------------------------------------------------------------