Fix bugs on projection filter for contour and ISO on multiple loading.
Clean up fo filter implemented
This commit is contained in:
@ -66,6 +66,22 @@ vtkContourTopogramProjectionFilter::~vtkContourTopogramProjectionFilter()
|
||||
}
|
||||
}
|
||||
|
||||
void vtkContourTopogramProjectionFilter::cleanUpFilter(){
|
||||
|
||||
this->dProjectionLPSOffset[0]=0.;
|
||||
this->dProjectionLPSOffset[1]=0.;
|
||||
this->dProjectionLPSOffset[2]=0.;
|
||||
|
||||
this->dImportOffsetLPS[0] = 0.;
|
||||
this->dImportOffsetLPS[1] = 0.;
|
||||
this->dImportOffsetLPS[2] = 0.;
|
||||
|
||||
this->dSCD = 0.;
|
||||
|
||||
this->m_RefTransform = nullptr;
|
||||
this->m_Transform = nullptr;
|
||||
|
||||
}
|
||||
|
||||
int vtkContourTopogramProjectionFilter::RequestData(
|
||||
vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector)
|
||||
|
@ -41,6 +41,8 @@ public:
|
||||
void SetSCD(const double dVal);
|
||||
void SetImportOffsetLPS(const double *);
|
||||
|
||||
void cleanUpFilter();
|
||||
|
||||
protected:
|
||||
vtkContourTopogramProjectionFilter();
|
||||
~vtkContourTopogramProjectionFilter() override;
|
||||
|
Reference in New Issue
Block a user