The RViz plugin API and library API are preliminary in Fuerte. We welcome feedback about how to make them more powerful and easier to program with. We expect the APIs to change (possibly significantly) between Fuerte and Groovy.
The rviz_plugin_tutorials package builds a plugin library for rviz containing two main classes: ImuDisplay and TeleopPanel.