-
Notifications
You must be signed in to change notification settings - Fork 56
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
[irteus/irtviewer.l] support changing floor color. #528
Conversation
I use this branch in Ubuntu 14.04 (indigo) / 16.04 (kinetic) for one week, and have no problem. I'm grad if someone review this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worked for me too.
Might be nice to have a setter function, instead of using :set-val
.
+1 |
Thank you for review! I think setter function is necessary for What name is good for setter function? |
added methods to set slot variables.
|
6ae07cf
to
57a92eb
Compare
070eae1
to
9c4d389
Compare
@mmurooka can you update |
*これって、make-irtviewer :floor-colorが可能なのかな?であれば、*
*たとえば*
*http://euslisp.github.io/jskeus/jmanual-node175.html
<http://euslisp.github.io/jskeus/jmanual-node175.html>*
*の以下の表示が変わるとわかりやすいな、と思うんですが、どうでしょうか。*
*make-irtviewer* *&rest args *[関数]
Create irtviewer
:view-name title
:hither near cropping plane
:yon far cropping plane
:width width of the window
:height height of the window
:draw-origin size of origin arrow, use nil to disable it
:draw-floor use t to view floor
2018年12月12日(水) 17:12 Masaki Murooka <[email protected]>:
added document.
method定義のところに簡単なコメントは書いてあったので,それ以上のドキュメントとなると,このような感じでしょうか.(それともmethod定義のところを充実させるほうが良い?ただ図が貼れないですね.)
[image: screenshot from 2018-12-12 17-07-35]
<https://user-images.githubusercontent.com/6636600/49855554-f9585080-fe30-11e8-9530-5cd071bcb386.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#528 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3E1g_CTnqNBdSNwOY4dh06zDxGOSks5u4LpbgaJpZM4XSkLL>
.
--
--
◉ Kei Okada
|
@mmurooka something wrong with you last commit, I think having 'set-floor-color
|
3cf4721
to
aff456b
Compare
Fixed.
Setting |
Please look at
jsk/pfilter.l: (:debug (&optional (d :null)) (if (not (eq d :null)) (setq
debug d)) debug)
2018年12月13日(木) 0:17 Masaki Murooka <[email protected]>:
something wrong with you last commit,
Fixed.
I think having 'set-floor-coloris ok, but I feelsend irtviewr :floor-color
#f(1 2 3)and(setq floor-color (send irtviewer :floor-color))` looks
familiar to me.
Setting nil is important for draw-floor slot variable in order to disable
floor visualization.
Do you have any idea to do both of (send irtviewer :draw-floor nil) for
disabling visualization and (setq draw-floor (send irtviewer :draw-floor))
for getting current state in Euslisp?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#528 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3AwCZL6VRzGV8xsrLDC5yQyizyBMks5u4R4MgaJpZM4XSkLL>
.
--
--
◉ Kei Okada
|
aff456b
to
b736433
Compare
b736433
to
16e7c05
Compare
Thank you, fixed. |
Ex1) Set floor line color black.
Ex2) Default color is white, which is same as before. So, visualization result does not change if you do not set floor color.