How to use user-defined icon for agent display

View: New views
6 Messages — Rating Filter:   Alert me  

Parent Message unknown How to use user-defined icon for agent display

by farheart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Create a new display,  when editing agent style, there are only 5 marks for
choosing.
Is there any way to allow user to use self-defined icon instead of embedded
marks?
(Especially for the Value Style)

If no such a function available now, I will appreciate if someone can tell
me where
source code should I pay attention so that I can try to realize such a
function by my
self.

Thanks,


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: How to use user-defined icon for agent display

by Tatara, Eric R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can use any bitmap image as an agent icon.  In the display editor, click "Select Icon File" and point to the file that you would like to use.  As a performance note, it's better to use images that are close to the actual scale on the screen.  Large images that are scaled down may hurt performance.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Friday, October 23, 2009 9:18 PM
To: repast-interest@...
Subject: [Repast-interest] How to use user-defined icon for agent display

Create a new display,  when editing agent style, there are only 5 marks for choosing.
Is there any way to allow user to use self-defined icon instead of embedded marks?
(Especially for the Value Style)

If no such a function available now, I will appreciate if someone can tell me where source code should I pay attention so that I can try to realize such a function by my self.

Thanks,


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: How to use user-defined icon for agent display

by farheart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric,

Thanks for your reply.

However, where is the display editor?
When I double-click the display created, it shows "options edit", under
Agent Style, I can't found anything that allow me to change the icon....

Could you help me on this?




----- Original Message -----
From: "Tatara, Eric R." <tatara@...>
To: "Yu Wang" <farheart@...>; <repast-interest@...>
Sent: Wednesday, October 28, 2009 7:03 PM
Subject: RE: [Repast-interest] How to use user-defined icon for agent
display


You can use any bitmap image as an agent icon.  In the display editor, click
"Select Icon File" and point to the file that you would like to use.  As a
performance note, it's better to use images that are close to the actual
scale on the screen.  Large images that are scaled down may hurt
performance.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Friday, October 23, 2009 9:18 PM
To: repast-interest@...
Subject: [Repast-interest] How to use user-defined icon for agent display

Create a new display,  when editing agent style, there are only 5 marks for
choosing.
Is there any way to allow user to use self-defined icon instead of embedded
marks?
(Especially for the Value Style)

If no such a function available now, I will appreciate if someone can tell
me where source code should I pay attention so that I can try to realize
such a function by my self.

Thanks,


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: How to use user-defined icon for agent display

by Tatara, Eric R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Directly under the list for picking the built in icon shapes in a button marked "Select Icon File."


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Thursday, October 29, 2009 9:28 PM
To: Tatara, Eric R.; repast-interest@...
Subject: Re: [Repast-interest] How to use user-defined icon for agent display

Eric,

Thanks for your reply.

However, where is the display editor?
When I double-click the display created, it shows "options edit", under Agent Style, I can't found anything that allow me to change the icon....

Could you help me on this?




----- Original Message -----
From: "Tatara, Eric R." <tatara@...>
To: "Yu Wang" <farheart@...>; <repast-interest@...>
Sent: Wednesday, October 28, 2009 7:03 PM
Subject: RE: [Repast-interest] How to use user-defined icon for agent display


You can use any bitmap image as an agent icon.  In the display editor, click "Select Icon File" and point to the file that you would like to use.  As a performance note, it's better to use images that are close to the actual scale on the screen.  Large images that are scaled down may hurt performance.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation Decision and Information Sciences Division Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Friday, October 23, 2009 9:18 PM
To: repast-interest@...
Subject: [Repast-interest] How to use user-defined icon for agent display

Create a new display,  when editing agent style, there are only 5 marks for choosing.
Is there any way to allow user to use self-defined icon instead of embedded marks?
(Especially for the Value Style)

If no such a function available now, I will appreciate if someone can tell me where source code should I pay attention so that I can try to realize such a function by my self.

Thanks,


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: How to use user-defined icon for agent display

by farheart :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric:

I try to find the button "Select Icon File" as you mentioned.
However, I failed...

I attach the screen shots with the email, and will appreciate
if you can help me solve this problem.

Thank you very much!!
--
Yu Wang







----- Original Message -----
From: "Tatara, Eric R." <tatara@...>
To: "Yu Wang" <farheart@...>; <repast-interest@...>
Sent: Friday, October 30, 2009 6:08 PM
Subject: RE: [Repast-interest] How to use user-defined icon for agent
display


Directly under the list for picking the built in icon shapes in a button
marked "Select Icon File."


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Thursday, October 29, 2009 9:28 PM
To: Tatara, Eric R.; repast-interest@...
Subject: Re: [Repast-interest] How to use user-defined icon for agent
display

Eric,

Thanks for your reply.

However, where is the display editor?
When I double-click the display created, it shows "options edit", under
Agent Style, I can't found anything that allow me to change the icon....

Could you help me on this?




----- Original Message -----
From: "Tatara, Eric R." <tatara@...>
To: "Yu Wang" <farheart@...>; <repast-interest@...>
Sent: Wednesday, October 28, 2009 7:03 PM
Subject: RE: [Repast-interest] How to use user-defined icon for agent
display


You can use any bitmap image as an agent icon.  In the display editor, click
"Select Icon File" and point to the file that you would like to use.  As a
performance note, it's better to use images that are close to the actual
scale on the screen.  Large images that are scaled down may hurt
performance.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation Decision and
Information Sciences Division Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Friday, October 23, 2009 9:18 PM
To: repast-interest@...
Subject: [Repast-interest] How to use user-defined icon for agent display

Create a new display,  when editing agent style, there are only 5 marks for
choosing.
Is there any way to allow user to use self-defined icon instead of embedded
marks?
(Especially for the Value Style)

If no such a function available now, I will appreciate if someone can tell
me where source code should I pay attention so that I can try to realize
such a function by my self.

Thanks,


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

2.jpg (149K) Download Attachment
3.jpg (154K) Download Attachment
1.jpg (144K) Download Attachment

Re: How to use user-defined icon for agent display

by Tatara, Eric R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry for the mixup - the icon file option is only available in the 2D displays.  For GIS displays in RS.1.2, you can load a Styled Layer Descriptor (SLD) - http://www.opengeospatial.org/standards/sld which is an XML file that describes the shape, color, size, and other properties of the agent icons in the map display.  RS.1.2 does not have a built in SLD editor, but there are several freely available such as uDig (http://udig.refractions.net/) that you can use to create an SLD file and then load into RS using the "Load SLD" button.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Sunday, November 01, 2009 4:29 PM
To: Tatara, Eric R.; repast-interest@...
Subject: Re: [Repast-interest] How to use user-defined icon for agent display

Eric:

I try to find the button "Select Icon File" as you mentioned.
However, I failed...

I attach the screen shots with the email, and will appreciate if you can help me solve this problem.

Thank you very much!!
--
Yu Wang







----- Original Message -----
From: "Tatara, Eric R." <tatara@...>
To: "Yu Wang" <farheart@...>; <repast-interest@...>
Sent: Friday, October 30, 2009 6:08 PM
Subject: RE: [Repast-interest] How to use user-defined icon for agent display


Directly under the list for picking the built in icon shapes in a button marked "Select Icon File."


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation
Decision and Information Sciences Division
Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Thursday, October 29, 2009 9:28 PM
To: Tatara, Eric R.; repast-interest@...
Subject: Re: [Repast-interest] How to use user-defined icon for agent
display

Eric,

Thanks for your reply.

However, where is the display editor?
When I double-click the display created, it shows "options edit", under
Agent Style, I can't found anything that allow me to change the icon....

Could you help me on this?




----- Original Message -----
From: "Tatara, Eric R." <tatara@...>
To: "Yu Wang" <farheart@...>; <repast-interest@...>
Sent: Wednesday, October 28, 2009 7:03 PM
Subject: RE: [Repast-interest] How to use user-defined icon for agent
display


You can use any bitmap image as an agent icon.  In the display editor, click
"Select Icon File" and point to the file that you would like to use.  As a
performance note, it's better to use images that are close to the actual
scale on the screen.  Large images that are scaled down may hurt
performance.

eric


Eric Tatara, Ph.D.
Assistant Software Engineer
Center for Complex Adaptive Agent Systems Simulation Decision and
Information Sciences Division Argonne National Laboratory

-----Original Message-----
From: Yu Wang [mailto:farheart@...]
Sent: Friday, October 23, 2009 9:18 PM
To: repast-interest@...
Subject: [Repast-interest] How to use user-defined icon for agent display

Create a new display,  when editing agent style, there are only 5 marks for
choosing.
Is there any way to allow user to use self-defined icon instead of embedded
marks?
(Especially for the Value Style)

If no such a function available now, I will appreciate if someone can tell
me where source code should I pay attention so that I can try to realize
such a function by my self.

Thanks,


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest