Commits

German Larrain committed e1d2571

graphics.vtk_adapter: renamed VtkBody to Body.

Comments (0)

Files changed (1)

ars/graphics/vtk_adapter.py

 		self._actor = None
 
 
-class VtkBody(Entity):
+class Body(Entity):
 
 	def get_color(self):
 		"""
 		self.set_pose(pos, rot)
 
 
-class Box(VtkBody, base.Box):
+class Box(Body, base.Box):
 
 	def __init__(self, size, pos, rot=None):
 		base.Box.__init__(self, size, pos, rot)
 		self._actor.SetMapper(boxMapper)  # TODO: does the order matter?
 
 
-class Cone(VtkBody, base.Cone):
+class Cone(Body, base.Cone):
 
 	def __init__(self, height, radius, center, rot=None, resolution=20):
 		base.Cone.__init__(self, height, radius, center, rot, resolution)
 		self._actor.SetMapper(coneMapper)  # TODO: does the order matter?
 
 
-class Sphere(VtkBody, base.Sphere):
+class Sphere(Body, base.Sphere):
 
 	"""
 	VTK: sphere (represented by polygons) of specified radius centered at the
 		self._actor.SetMapper(sphereMapper)  # TODO: does the order matter?
 
 
-class Cylinder(VtkBody, base.Cylinder):
+class Cylinder(Body, base.Cylinder):
 
 	def __init__(self, length, radius, center, rot=None, resolution=20):
 		base.Cylinder.__init__(self, length, radius, center, rot, resolution)
 		self._actor.SetMapper(cylMapper)  # TODO: does the order matter?
 
 
-class Capsule(VtkBody, base.Capsule):
+class Capsule(Body, base.Capsule):
 
 	def __init__(self, length, radius, center, rot=None, resolution=20):
 		base.Capsule.__init__(self, length, radius, center, rot, resolution)
 		self.set_pose(center, rot)
 
 
-class Trimesh(VtkBody, base.Trimesh):
+class Trimesh(Body, base.Trimesh):
 
 	def __init__(self, vertices, faces, pos, rot=None):
 		base.Trimesh.__init__(self, vertices, faces, pos, rot)