Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 740
    • Issues 740
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 198
    • Merge requests 198
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #3207
Closed
Open
Created May 04, 2006 by Kitware Robot@kwrobotOwner

Missing scaling by Aspect

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


Scaling by aspect ratio is missing in

void vtkViewport::ViewToNormalizedViewport(double &x, double &y, double &vtkNotUsed(z))

Version 5.0.0:

x = (x + 1.0) / 2.0; y = (y + 1.0) / 2.0;

Version 4.4.2:

x = (x / this->Aspect[0] + 1.0) / 2.0; y = (y / this->Aspect[1] + 1.0) / 2.0;

Missing scaling by this->Aspect[] causes deformation of Actor2D.

Assignee
Assign to
Time tracking