fix: fix measure value change after view resize

This commit is contained in:
kradchen
2025-07-18 15:05:46 +08:00
parent ddf31a3fdb
commit 0bbd319204
5 changed files with 0 additions and 6 deletions

View File

@@ -93,7 +93,6 @@ EllipseAnnotationActor::EllipseAnnotationActor() {
//BaseDataPoints->SetPoint(1, 512, 512, 0);
renderPoints->SetNumberOfPoints(GRANULARITY + 1);
BaseDataPoints->Modified();
controlP_lt->AddObserver(DraggableActorEvents::DragEvent, this, &EllipseAnnotationActor::controlPointCb);
controlP_rt->AddObserver(DraggableActorEvents::DragEvent, this, &EllipseAnnotationActor::controlPointCb);
controlP_lb->AddObserver(DraggableActorEvents::DragEvent, this, &EllipseAnnotationActor::controlPointCb);

View File

@@ -65,8 +65,6 @@ private:
QString mUnitcm2 ;
QString mAreaName;
QString mRenderTime;
template <typename T>
void vtkValueCalcTemplate(vtkImageData *image, int sliceNumber, double *pt1, double *pt2, double *normals, QString &message);
};

View File

@@ -81,7 +81,6 @@ protected:
vtkTextProperty *textProperty;
bool measured;
QString mRenderTime;
QString mUnitmm ;
QString mUnitcm ;
QString mUnitmm2;

View File

@@ -50,7 +50,6 @@ void RoundAnnotationActor::BuildShape() {
double p_rb[3] = {0, 0, 0};
double* disp_rb = controlP_rb->GetRenderPosition();
MapScreenPointToWorld(disp_rb[0], disp_rb[1], this->Renderer, p_rb);
// analyzePixel(p_lt,p_rb);
}
double *rp = renderPoints->GetPoint(0);

View File

@@ -61,7 +61,6 @@ private:
QString mUnitmm ;
QString mUnitcm ;
QString mDiameterName;
QString mRenderTime;
};
#endif /* OMEGAV_ROUNDANNOTATIONACTOR_H */