Closed ksatyaki closed 7 years ago
One thing I immediately see is that, the GeometricPrimitive
abstract class should also include a virtual std::vector <float> getParameters() = 0
interface to be able to return the primitive's parameters as a vector. This can then be returned by the TaskManager
's getAllPrimitives()
function (will be defined).
It also seems reasonable to choose a single std::vector <float> getColor()
member instead of getRedComponent()
, etc. in the GeometricPrimitive
base class.
Yes.
Le 1 févr. 2017 15:38, "Chittaranjan Srinivas Swaminathan" < notifications@github.com> a écrit :
One thing I immediately see is that, the GeometricPrimitive abstract class should also include a virtual std::vector
getParameters() = 0 interface to be able to return the primitive's parameters as a vector. This can then be returned by the TaskManager's getAllPrimitives() function (will be defined). — You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/OrebroUniversity/hiqp/issues/26#issuecomment-276673225, or mute the thread https://github.com/notifications/unsubscribe-auth/ADmjhazfQFKqi-WicnNyDhDmd6qYNEWvks5rYJjogaJpZM4Luz9k .
Merged into devel-chitt. Awaiting merge into devel.
Return proper result for all service calls. For example,
list_all_primitives
should return a vector of strings.At the moment, there are no return values (except a success, which IMHO has no meaning here) for the service calls.