Changeset 3818 for trunk/packages/vizservers/vtkvis/Renderer.h
- Timestamp:
- Jul 18, 2013, 2:51:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/vtkvis/Renderer.h
r3771 r3818 40 40 #include "Group.h" 41 41 #include "HeightMap.h" 42 #include "Image.h" 42 43 #include "LIC.h" 43 44 #include "Line.h" … … 49 50 #include "Sphere.h" 50 51 #include "Streamlines.h" 52 #include "Text3D.h" 51 53 #include "Volume.h" 52 54 #include "Warp.h" … … 420 422 421 423 void setColorMapNumberOfTableEntries(const ColorMapId& id, int numEntries); 424 425 bool renderColorMap(const ColorMapId& id, 426 int width, int height, 427 bool opaque, 428 vtkUnsignedCharArray *imgData); 422 429 423 430 bool renderColorMap(const ColorMapId& id, … … 745 752 const char *name, double range[2] = NULL); 746 753 754 // Images 755 756 void setImageBackground(const DataSetId& id, bool state); 757 758 void setImageBacking(const DataSetId& id, bool state); 759 760 void setImageBorder(const DataSetId& id, bool state); 761 762 void setImageExtents(const DataSetId& id, int extents[6]); 763 764 void setImageLevel(const DataSetId& id, double level); 765 766 void setImageWindow(const DataSetId& id, double window); 767 768 void setImageZSlice(const DataSetId& id, int z); 747 769 748 770 // Lines … … 796 818 PolyData::CloudStyle style); 797 819 820 void setPolyDataColorMode(const DataSetId& id, 821 PolyData::ColorMode mode, 822 const char *name, double range[2] = NULL); 823 824 void setPolyDataColorMode(const DataSetId& id, 825 PolyData::ColorMode mode, 826 DataSet::DataAttributeType type, 827 const char *name, double range[2] = NULL); 828 798 829 // Color-mapped surfaces 799 830 … … 880 911 881 912 void setStreamlinesTypeToRibbons(const DataSetId& id, double width, double angle); 913 914 // Text3Ds 915 916 bool addText3D(const DataSetId& id, const char *string, 917 const char *fontFamily, int fontSize, 918 bool bold = false, bool italic = false, bool shadow = false); 919 920 void setText3DBold(const DataSetId& id, bool state); 921 922 void setText3DFollowCamera(const DataSetId& id, bool state); 923 924 void setText3DFont(const DataSetId& id, const char *fontFamily); 925 926 void setText3DFontSize(const DataSetId& id, int size); 927 928 void setText3DItalic(const DataSetId& id, bool state); 929 930 void setText3DShadow(const DataSetId& id, bool state); 931 932 void setText3DText(const DataSetId& id, const char *text); 882 933 883 934 // Volumes … … 919 970 typedef std::tr1::unordered_map<DataSetId, Group *> GroupHashmap; 920 971 typedef std::tr1::unordered_map<DataSetId, HeightMap *> HeightMapHashmap; 972 typedef std::tr1::unordered_map<DataSetId, Image *> ImageHashmap; 921 973 typedef std::tr1::unordered_map<DataSetId, LIC *> LICHashmap; 922 974 typedef std::tr1::unordered_map<DataSetId, Line *> LineHashmap; … … 928 980 typedef std::tr1::unordered_map<DataSetId, Sphere *> SphereHashmap; 929 981 typedef std::tr1::unordered_map<DataSetId, Streamlines *> StreamlinesHashmap; 982 typedef std::tr1::unordered_map<DataSetId, Text3D *> Text3DHashmap; 930 983 typedef std::tr1::unordered_map<DataSetId, Volume *> VolumeHashmap; 931 984 typedef std::tr1::unordered_map<DataSetId, Warp *> WarpHashmap; … … 1023 1076 FieldRangeHashmap _vectorCellDataRange; 1024 1077 FieldRangeHashmap _vectorCompCellDataRange[3]; 1078 FieldRangeHashmap _scalarFieldDataRange; 1079 FieldRangeHashmap _vectorFieldDataRange; 1080 FieldRangeHashmap _vectorCompFieldDataRange[3]; 1025 1081 1026 1082 FieldRangeHashmap _userScalarPointDataRange; … … 1030 1086 FieldRangeHashmap _userVectorCellDataRange; 1031 1087 FieldRangeHashmap _userVectorCompCellDataRange[3]; 1088 FieldRangeHashmap _userScalarFieldDataRange; 1089 FieldRangeHashmap _userVectorFieldDataRange; 1090 FieldRangeHashmap _userVectorCompFieldDataRange[3]; 1032 1091 1033 1092 bool _axesAutoBounds[3]; … … 1050 1109 GroupHashmap _groups; 1051 1110 HeightMapHashmap _heightMaps; 1111 ImageHashmap _images; 1052 1112 LICHashmap _lics; 1053 1113 LineHashmap _lines; … … 1059 1119 SphereHashmap _spheres; 1060 1120 StreamlinesHashmap _streamlines; 1121 Text3DHashmap _text3Ds; 1061 1122 VolumeHashmap _volumes; 1062 1123 WarpHashmap _warps;
Note: See TracChangeset
for help on using the changeset viewer.