Changeset 3229
- Timestamp:
- Dec 30, 2012, 2:02:26 PM (12 years ago)
- Location:
- branches/Rappture 1.2/packages/vizservers/vtkvis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Rappture 1.2/packages/vizservers/vtkvis/RpVtkRendererGraphicsObjs.cpp
r3225 r3229 701 701 } while (doAll && ++itr != _dataSets.end()); 702 702 703 if (_cameraMode == IMAGE)704 setCameraMode(PERSPECTIVE);705 703 initCamera(); 706 704 _needsRedraw = true; … … 987 985 } 988 986 987 /** 988 * \brief Set scalar interpolation mode for the specified DataSet 989 */ 989 990 void Renderer::setCutplaneInterpolateBeforeMapping(const DataSetId& id, bool state) 990 991 { … … 1181 1182 1182 1183 initCamera(); 1183 1184 1184 _needsRedraw = true; 1185 1185 return true; … … 1403 1403 1404 1404 initCamera(); 1405 1406 1405 _needsRedraw = true; 1407 1406 return true; … … 1451 1450 1452 1451 initCamera(); 1453 1454 1452 _needsRedraw = true; 1455 1453 return true; … … 1541 1539 } 1542 1540 1541 /** 1542 * \brief Set scalar interpolation mode for the specified DataSet 1543 */ 1543 1544 void Renderer::setHeightMapInterpolateBeforeMapping(const DataSetId& id, bool state) 1544 1545 { … … 1938 1939 } 1939 1940 1941 /** 1942 * \brief Set render style of the Molecule bonds for the given DataSet 1943 */ 1940 1944 void Renderer::setMoleculeBondStyle(const DataSetId& id, Molecule::BondStyle style) 1941 1945 { … … 1962 1966 } 1963 1967 1968 /** 1969 * \brief Set coloring mode of the Molecule bonds for the given DataSet 1970 */ 1964 1971 void Renderer::setMoleculeBondColorMode(const DataSetId& id, Molecule::BondColorMode mode) 1965 1972 { … … 1986 1993 } 1987 1994 1995 /** 1996 * \brief Set constant color of the Molecule bonds for the given DataSet 1997 */ 1988 1998 void Renderer::setMoleculeBondColor(const DataSetId& id, float color[3]) 1989 1999 { … … 2009 2019 _needsRedraw = true; 2010 2020 } 2011 2012 2021 2013 2022 /** … … 2164 2173 } 2165 2174 2175 /** 2176 * \brief Set scalar interpolation mode for the specified DataSet 2177 */ 2166 2178 void Renderer::setPseudoColorInterpolateBeforeMapping(const DataSetId& id, bool state) 2167 2179 { -
branches/Rappture 1.2/packages/vizservers/vtkvis/RpVtkRendererGraphicsObjs.h
r3177 r3229 17 17 namespace VtkVis { 18 18 19 /** 20 * \brief Look up graphics object by name 21 */ 19 22 template<class GraphicsObject> 20 23 GraphicsObject *Renderer::getGraphicsObject(const DataSetId& id) … … 34 37 } 35 38 39 /** 40 * \brief Delete graphics object by name 41 */ 36 42 template<class GraphicsObject> 37 43 void Renderer::deleteGraphicsObject(const DataSetId& id) … … 71 77 } 72 78 79 /** 80 * \brief Delete all graphics objects from renderer 81 */ 73 82 template<class GraphicsObject> 74 83 void Renderer::deleteAllGraphicsObjects() … … 90 99 } 91 100 101 /** 102 * \brief Add a graphics objects to the renderer's scene 103 */ 92 104 template<class GraphicsObject> 93 105 bool Renderer::addGraphicsObject(const DataSetId& id) … … 415 427 itr->second->setColor(color); 416 428 } while (doAll && ++itr != hashmap.end()); 429 417 430 _needsRedraw = true; 418 431 } … … 627 640 itr->second->setLighting(state); 628 641 } while (doAll && ++itr != hashmap.end()); 642 629 643 _needsRedraw = true; 630 644 } … … 765 779 } 766 780 781 /** 782 * \brief Notify graphics object that color map has changed 783 */ 767 784 template<class GraphicsObject> 768 785 void Renderer::updateGraphicsObjectColorMap(ColorMap *cmap) … … 780 797 } 781 798 799 /** 800 * \brief Check if a color map is in use by a graphics object 801 */ 782 802 template<class GraphicsObject> 783 803 bool Renderer::graphicsObjectColorMapUsed(ColorMap *cmap) … … 794 814 } 795 815 816 /** 817 * \brief Compute union of bounds and GO's bounds 818 */ 796 819 template<class GraphicsObject> 797 820 void Renderer::mergeGraphicsObjectBounds(double *bounds, bool onlyVisible) … … 808 831 } 809 832 833 /** 834 * \brief Compute union of bounds and GO's unscaled bounds 835 * 836 * Unscaled bounds are the bounds of the object before any actor scaling is 837 * applied 838 */ 810 839 template<class GraphicsObject> 811 840 void Renderer::mergeGraphicsObjectUnscaledBounds(double *bounds, bool onlyVisible) … … 822 851 } 823 852 853 /** 854 * \brief Notify object that field value ranges have changed 855 */ 824 856 template<class GraphicsObject> 825 857 void Renderer::updateGraphicsObjectFieldRanges() … … 834 866 } 835 867 868 /** 869 * \brief Pass global clip planes to graphics object 870 */ 836 871 template<class GraphicsObject> 837 872 void Renderer::setGraphicsObjectClippingPlanes(vtkPlaneCollection *planes) … … 846 881 } 847 882 883 /** 884 * \brief Set actor scaling based on a 2D aspect ratio 885 * 886 * \param aspectRatio The aspect ratio (width/height), zero means native aspect 887 */ 848 888 template<class GraphicsObject> 849 889 void Renderer::setGraphicsObjectAspect(double aspectRatio)
Note: See TracChangeset
for help on using the changeset viewer.