Parent Directory
|
Revision Log
|
Patch
revision 1197 by jongui, Mon Jun 18 02:08:34 2007 UTC | revision 1199 by jongui, Wed Jun 20 05:01:30 2007 UTC | |
---|---|---|
# | Line 57 class Text2D(Actor2D): | Line 57 class Text2D(Actor2D): |
57 | """ | """ |
58 | ||
59 | self.__setInput() | self.__setInput() |
60 | # Set the color of the 2D text to black by default. | |
61 | self.setColor(Color.BLACK) | self.setColor(Color.BLACK) |
62 | # Add the 2D text to the appropriate renderer. | # Add the 2D text to the appropriate renderer. |
63 | scene._addActor2D(self.__viewport, self._vtk_actor2D) | scene._addActor2D(self.__viewport, self._vtk_actor2D) |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |