fix: removed comments and added comments
This commit is contained in:
1 parent
52873b38de
commit
0f99201c06
3 files changed
+20
-47
No files matched your search
@@ -89,34 +89,4 @@ vtkSmartPointer<vtkTransformFilter> createInverseCartographicTransformFilter(con
|
||||
transformFilter->SetTransform(totalProjection);
|
||||
|
||||
return transformFilter;
|
||||
}
|
||||
|
||||
//vtkSmartPointer<vtkMatrix4x4> getCartographicTransformMatrix(const std::shared_ptr<UVGrid> uvGrid) {
|
||||
// const double XMin = uvGrid->lons.front();
|
||||
// const double XMax = uvGrid->lons.back();
|
||||
// const double YMin = uvGrid->lats.front();
|
||||
// const double YMax = uvGrid->lats.back();
|
||||
//
|
||||
// double eyeTransform[] = {
|
||||
// 2/(XMax-XMin), 0, 0, -(XMax+XMin)/(XMax-XMin),
|
||||
// 0, 2/(YMax-YMin), 0, -(YMax+YMin)/(YMax-YMin),
|
||||
// 0, 0, 1, 0,
|
||||
// 0, 0, 0, 1
|
||||
// };
|
||||
//
|
||||
// auto matrix = vtkSmartPointer<vtkMatrix4x4>::New();
|
||||
// matrix->DeepCopy(eyeTransform);
|
||||
// return matrix;
|
||||
//}
|
||||
//
|
||||
//// Assumes Normalised camera is used
|
||||
//vtkSmartPointer<vtkTransformFilter> createCartographicTransformFilter(const std::shared_ptr<UVGrid> uvGrid) {
|
||||
// vtkNew<vtkTransform> transform;
|
||||
//
|
||||
// transform->SetMatrix(getCartographicTransformMatrix(uvGrid));
|
||||
//
|
||||
// vtkSmartPointer<vtkTransformFilter> transformFilter = vtkSmartPointer<vtkTransformFilter>::New();
|
||||
// transformFilter->SetTransform(transform);
|
||||
//
|
||||
// return transformFilter;
|
||||
//}
|
||||
}
|
||||