Simple question on Viewpoint

classic Classic list List threaded Threaded
5 messages Options
NoobIsMyNature NoobIsMyNature
Reply | Threaded
Open this post in threaded view
|

Simple question on Viewpoint

Hey everyone, I just got a little question about the viewpoint plugin, that
  suppose that we're under viewpoint A, and fly to viewpoint B, but know I want to insert another viewpoint C into the journey(A-->B to A-->C-->B), is there any method that fits my need?

thanks to all of you!
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Simple question on Viewpoint

Hi,

No; in fact the ViewpointsExtension has no API at all. It just reads viewpoints from an earth file and puts them on the screen.
Glenn Waldron / Pelican Mapping
NoobIsMyNature NoobIsMyNature
Reply | Threaded
Open this post in threaded view
|

Re: Simple question on Viewpoint

Alright, thanks Glenn, I'll look for other way to see if I can realize this, also, do you have any suggestions or recommendations like what you will do to solve the problem?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Simple question on Viewpoint

You are going to have to write the code :) Look at the source code in ViewpointsExtension.cpp to learn how Viewpoints work and use this as inspiration for a module in your own application.
Glenn Waldron / Pelican Mapping
NoobIsMyNature NoobIsMyNature
Reply | Threaded
Open this post in threaded view
|

Re: Simple question on Viewpoint

OK, I'm just doing this,thanks glenn (^_^)