New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markers are stretched too much when x and y scales are too different #553

Closed
doutriaux1 opened this Issue Aug 12, 2014 · 14 comments

Comments

Projects
None yet
3 participants
@doutriaux1
Member

doutriaux1 commented Aug 12, 2014

if x axis and y axis are too different markes are streched in one direction
test_vcs_basic_scatter_masked

@doutriaux1 doutriaux1 added this to the 2.0.0 milestone Aug 12, 2014

@doutriaux1 doutriaux1 added bug labels Aug 12, 2014

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Aug 12, 2014

@aashish24 I need your help on this, on the above pix we should see small circles

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Aug 13, 2014

Not sure what I am seeing -:) probably need a online discussion.

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Sep 6, 2014

@doutriaux1 Did you try my suggestion? Can you point me to the code?

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Sep 7, 2014

Ok, I will try to find the code.

  • Aashish
@aashish24

This comment has been minimized.

Contributor

aashish24 commented Sep 8, 2014

@doutriaux1 Can you send me the sample code? or test case?

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Sep 8, 2014

@aashish24 I sent it to you thursday, I put it here it will be easier to find it again.
ctest -R vcs_test_basic_scatter -V

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Sep 17, 2014

553_stretched_markers in uvcdat-devel corrects the aspect ratio issue.

The markers are now rather big. I'll leave the final size scaling to you, I'm not sure how large the final glyphs should be.

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Sep 17, 2014

thx @dlonie I will take a look, fix the scaling and merge into master!

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Sep 17, 2014

@aashish24 @dlonie the circles are a bit corse, is there a way to tell it to use "more points" to draw the circles/glyphs so that they appear smoother?
I don't see an obvious function for this

gs.SetAbortExecute               gs.SetGlyphTypeToArrow           gs.SetGlyphTypeToTriangle        gs.SetProgressText
gs.SetCenter                     gs.SetGlyphTypeToCircle          gs.SetGlyphTypeToVertex          gs.SetReferenceCount
gs.SetColor                      gs.SetGlyphTypeToCross           gs.SetInformation                gs.SetReleaseDataFlag
gs.SetCross                      gs.SetGlyphTypeToDash            gs.SetInputArrayToProcess        gs.SetRotationAngle
gs.SetDash                       gs.SetGlyphTypeToDiamond         gs.SetInputConnection            gs.SetScale
gs.SetDebug                      gs.SetGlyphTypeToEdgeArrow       gs.SetInputData                  gs.SetScale2
gs.SetDefaultExecutivePrototype  gs.SetGlyphTypeToHookedArrow     gs.SetInputDataObject            gs.SetUpdateExtent
gs.SetExecutive                  gs.SetGlyphTypeToNone            gs.SetOutput                     gs.SetUpdateExtentToWholeExtent
gs.SetFilled                     gs.SetGlyphTypeToSquare          gs.SetOutputPointsPrecision      
gs.SetGlobalWarningDisplay       gs.SetGlyphTypeToThickArrow      gs.SetProgress                   
gs.SetGlyphType                  gs.SetGlyphTypeToThickCross      gs.SetProgressObserver           

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Sep 17, 2014

maybe SetOutputPointsPrecision?

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Sep 17, 2014

@doutriaux1 I was looking for the same thing earlier, but it doesn't seem to exist for this class. SetOutputPointsPrecision just toggles between single/double precision floats.

@doutriaux1

This comment has been minimized.

Member

doutriaux1 commented Sep 17, 2014

@aashish24 should we post that on VTK issue tracker?

@doutriaux1 doutriaux1 closed this Sep 17, 2014

@aashish24

This comment has been minimized.

Contributor

aashish24 commented Sep 17, 2014

How you are drawing circles?

David cool!!

@allisonvacanti

This comment has been minimized.

Contributor

allisonvacanti commented Sep 17, 2014

vtkGlyphSource2D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment