<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: dox/Infovis/vtkViewTheme.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>dox/Infovis/vtkViewTheme.h</h1><a href="a03091.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Visualization Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: vtkViewTheme.h,v $</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00007"></a>00007 <span class="comment"> All rights reserved.</span> <a name="l00008"></a>00008 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00011"></a>00011 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00012"></a>00012 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span> <a name="l00015"></a>00015 <span class="comment">/*-------------------------------------------------------------------------</span> <a name="l00016"></a>00016 <span class="comment"> Copyright 2008 Sandia Corporation.</span> <a name="l00017"></a>00017 <span class="comment"> Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span> <a name="l00018"></a>00018 <span class="comment"> the U.S. Government retains certain rights in this software.</span> <a name="l00019"></a>00019 <span class="comment">-------------------------------------------------------------------------*/</span> <a name="l00035"></a>00035 <span class="preprocessor">#ifndef __vtkViewTheme_h</span> <a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define __vtkViewTheme_h</span> <a name="l00037"></a>00037 <span class="preprocessor"></span> <a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="a02079.html">vtkObject.h</a>"</span> <a name="l00039"></a>00039 <a name="l00040"></a><a class="code" href="a01834.html">00040</a> <span class="keyword">class </span><a class="code" href="a02170.html#73f1c245b8811be3c4b76b0a89784e70">VTK_INFOVIS_EXPORT</a> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a> : <span class="keyword">public</span> <a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> <a name="l00041"></a>00041 { <a name="l00042"></a>00042 <span class="keyword">public</span>: <a name="l00043"></a>00043 <span class="keyword">static</span> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>* <a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>(); <a name="l00044"></a><a class="code" href="a01834.html#4221d64c5fb550e11aa1766b256e692d">00044</a> vtkTypeRevisionMacro(<a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>, <a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>); <a name="l00045"></a>00045 <span class="keywordtype">void</span> <a class="code" href="a01084.html#bf3dbb4154289b56a12483eee3866263">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00046"></a>00046 <a name="l00048"></a>00048 <a name="l00049"></a>00049 vtkSetMacro(PointSize, <span class="keywordtype">double</span>); <a name="l00050"></a>00050 vtkGetMacro(PointSize, <span class="keywordtype">double</span>); <a name="l00052"></a>00052 <a name="l00054"></a>00054 <a name="l00055"></a>00055 vtkSetMacro(LineWidth, <span class="keywordtype">double</span>); <a name="l00056"></a>00056 vtkGetMacro(LineWidth, <span class="keywordtype">double</span>); <a name="l00058"></a>00058 <a name="l00060"></a>00060 <a name="l00062"></a>00062 vtkSetVector3Macro(PointColor, <span class="keywordtype">double</span>); <a name="l00063"></a>00063 vtkGetVector3Macro(PointColor, <span class="keywordtype">double</span>); <a name="l00064"></a>00064 vtkSetMacro(PointOpacity, <span class="keywordtype">double</span>); <a name="l00065"></a>00065 vtkGetMacro(PointOpacity, <span class="keywordtype">double</span>); <a name="l00067"></a>00067 <a name="l00069"></a>00069 <a name="l00070"></a>00070 vtkSetVector2Macro(PointHueRange, <span class="keywordtype">double</span>); <a name="l00071"></a>00071 vtkGetVector2Macro(PointHueRange, <span class="keywordtype">double</span>); <a name="l00072"></a>00072 vtkSetVector2Macro(PointSaturationRange, <span class="keywordtype">double</span>); <a name="l00073"></a>00073 vtkGetVector2Macro(PointSaturationRange, <span class="keywordtype">double</span>); <a name="l00074"></a>00074 vtkSetVector2Macro(PointValueRange, <span class="keywordtype">double</span>); <a name="l00075"></a>00075 vtkGetVector2Macro(PointValueRange, <span class="keywordtype">double</span>); <a name="l00076"></a>00076 vtkSetVector2Macro(PointAlphaRange, <span class="keywordtype">double</span>); <a name="l00077"></a>00077 vtkGetVector2Macro(PointAlphaRange, <span class="keywordtype">double</span>); <a name="l00079"></a>00079 <a name="l00081"></a>00081 <a name="l00083"></a>00083 vtkSetVector3Macro(CellColor, <span class="keywordtype">double</span>); <a name="l00084"></a>00084 vtkGetVector3Macro(CellColor, <span class="keywordtype">double</span>); <a name="l00085"></a>00085 vtkSetMacro(CellOpacity, <span class="keywordtype">double</span>); <a name="l00086"></a>00086 vtkGetMacro(CellOpacity, <span class="keywordtype">double</span>); <a name="l00088"></a>00088 <a name="l00090"></a>00090 <a name="l00091"></a>00091 vtkSetVector2Macro(CellHueRange, <span class="keywordtype">double</span>); <a name="l00092"></a>00092 vtkGetVector2Macro(CellHueRange, <span class="keywordtype">double</span>); <a name="l00093"></a>00093 vtkSetVector2Macro(CellSaturationRange, <span class="keywordtype">double</span>); <a name="l00094"></a>00094 vtkGetVector2Macro(CellSaturationRange, <span class="keywordtype">double</span>); <a name="l00095"></a>00095 vtkSetVector2Macro(CellValueRange, <span class="keywordtype">double</span>); <a name="l00096"></a>00096 vtkGetVector2Macro(CellValueRange, <span class="keywordtype">double</span>); <a name="l00097"></a>00097 vtkSetVector2Macro(CellAlphaRange, <span class="keywordtype">double</span>); <a name="l00098"></a>00098 vtkGetVector2Macro(CellAlphaRange, <span class="keywordtype">double</span>); <a name="l00100"></a>00100 <a name="l00102"></a>00102 <a name="l00103"></a>00103 vtkSetVector3Macro(OutlineColor, <span class="keywordtype">double</span>); <a name="l00104"></a>00104 vtkGetVector3Macro(OutlineColor, <span class="keywordtype">double</span>); <a name="l00106"></a>00106 <a name="l00108"></a>00108 <a name="l00109"></a>00109 vtkSetVector3Macro(SelectedPointColor, <span class="keywordtype">double</span>); <a name="l00110"></a>00110 vtkGetVector3Macro(SelectedPointColor, <span class="keywordtype">double</span>); <a name="l00111"></a>00111 vtkSetMacro(SelectedPointOpacity, <span class="keywordtype">double</span>); <a name="l00112"></a>00112 vtkGetMacro(SelectedPointOpacity, <span class="keywordtype">double</span>); <a name="l00114"></a>00114 <a name="l00116"></a>00116 <a name="l00117"></a>00117 vtkSetVector3Macro(SelectedCellColor, <span class="keywordtype">double</span>); <a name="l00118"></a>00118 vtkGetVector3Macro(SelectedCellColor, <span class="keywordtype">double</span>); <a name="l00119"></a>00119 vtkSetMacro(SelectedCellOpacity, <span class="keywordtype">double</span>); <a name="l00120"></a>00120 vtkGetMacro(SelectedCellOpacity, <span class="keywordtype">double</span>); <a name="l00122"></a>00122 <a name="l00124"></a>00124 <a name="l00125"></a>00125 vtkSetVector3Macro(BackgroundColor, <span class="keywordtype">double</span>); <a name="l00126"></a>00126 vtkGetVector3Macro(BackgroundColor, <span class="keywordtype">double</span>); <a name="l00128"></a>00128 <a name="l00130"></a>00130 <a name="l00131"></a>00131 vtkSetVector3Macro(BackgroundColor2, <span class="keywordtype">double</span>); <a name="l00132"></a>00132 vtkGetVector3Macro(BackgroundColor2, <span class="keywordtype">double</span>); <a name="l00134"></a>00134 <a name="l00136"></a>00136 <a name="l00137"></a>00137 vtkSetVector3Macro(VertexLabelColor, <span class="keywordtype">double</span>); <a name="l00138"></a>00138 vtkGetVector3Macro(VertexLabelColor, <span class="keywordtype">double</span>); <a name="l00140"></a>00140 <a name="l00142"></a>00142 <a name="l00143"></a>00143 vtkSetVector3Macro(EdgeLabelColor, <span class="keywordtype">double</span>); <a name="l00144"></a>00144 vtkGetVector3Macro(EdgeLabelColor, <span class="keywordtype">double</span>); <a name="l00146"></a>00146 <a name="l00148"></a>00148 <a name="l00151"></a>00151 <span class="keyword">static</span> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>* CreateOceanTheme(); <a name="l00152"></a>00152 <span class="keyword">static</span> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>* CreateMellowTheme(); <a name="l00153"></a>00153 <span class="keyword">static</span> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>* CreateNeonTheme(); <a name="l00155"></a>00155 <a name="l00156"></a>00156 <span class="keyword">protected</span>: <a name="l00157"></a>00157 <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>(); <a name="l00158"></a>00158 ~<a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>(); <a name="l00159"></a>00159 <a name="l00160"></a><a class="code" href="a01834.html#2588341bfdf260d270aba9858ed17ae8">00160</a> <span class="keywordtype">double</span> PointSize; <a name="l00161"></a><a class="code" href="a01834.html#792da9447ade04ac6ac157772710b951">00161</a> <span class="keywordtype">double</span> LineWidth; <a name="l00162"></a>00162 <a name="l00163"></a><a class="code" href="a01834.html#39c9779fde2816c1ea837977f90caac2">00163</a> <span class="keywordtype">double</span> PointColor[3]; <a name="l00164"></a><a class="code" href="a01834.html#0498c1ae8289734d72362395df470630">00164</a> <span class="keywordtype">double</span> PointOpacity; <a name="l00165"></a><a class="code" href="a01834.html#262a77b7c5a807736e2450b5e6f0935a">00165</a> <span class="keywordtype">double</span> PointHueRange[2]; <a name="l00166"></a><a class="code" href="a01834.html#0245efaf72629fea10685c1224d08af8">00166</a> <span class="keywordtype">double</span> PointSaturationRange[2]; <a name="l00167"></a><a class="code" href="a01834.html#499706bfd21417ab62ab9f98340706bb">00167</a> <span class="keywordtype">double</span> PointValueRange[2]; <a name="l00168"></a><a class="code" href="a01834.html#58f5d7f55534c8bf6c83f273b4d188fd">00168</a> <span class="keywordtype">double</span> PointAlphaRange[2]; <a name="l00169"></a>00169 <a name="l00170"></a><a class="code" href="a01834.html#dd8bb1cbcf26404ee52c1341d8214f0e">00170</a> <span class="keywordtype">double</span> CellColor[3]; <a name="l00171"></a><a class="code" href="a01834.html#ee2a0bafc6fa9f131241e52d2f575498">00171</a> <span class="keywordtype">double</span> CellOpacity; <a name="l00172"></a><a class="code" href="a01834.html#1db432408bc3022f46221fad54fbbeaa">00172</a> <span class="keywordtype">double</span> CellHueRange[2]; <a name="l00173"></a><a class="code" href="a01834.html#e96350b714be9c3efb341216774ffd62">00173</a> <span class="keywordtype">double</span> CellSaturationRange[2]; <a name="l00174"></a><a class="code" href="a01834.html#6665776c697db55060a8364e92877426">00174</a> <span class="keywordtype">double</span> CellValueRange[2]; <a name="l00175"></a><a class="code" href="a01834.html#7e2146dbc5032cb51991494e4bf46bd1">00175</a> <span class="keywordtype">double</span> CellAlphaRange[2]; <a name="l00176"></a>00176 <a name="l00177"></a><a class="code" href="a01834.html#6e1f747ff25078035d8e1eea523fdf5f">00177</a> <span class="keywordtype">double</span> OutlineColor[3]; <a name="l00178"></a>00178 <a name="l00179"></a><a class="code" href="a01834.html#f87a186353dcc344619b383776564aeb">00179</a> <span class="keywordtype">double</span> SelectedPointColor[3]; <a name="l00180"></a><a class="code" href="a01834.html#24bcb3df62b0493a0e9e774edeec646c">00180</a> <span class="keywordtype">double</span> SelectedPointOpacity; <a name="l00181"></a><a class="code" href="a01834.html#fcbade66675091e78b626b6fc31cc64f">00181</a> <span class="keywordtype">double</span> SelectedCellColor[3]; <a name="l00182"></a><a class="code" href="a01834.html#e96b6f386e39275d9c760533649d13cf">00182</a> <span class="keywordtype">double</span> SelectedCellOpacity; <a name="l00183"></a>00183 <a name="l00184"></a><a class="code" href="a01834.html#2bc8df79e0cd5976f90e36a53f86379f">00184</a> <span class="keywordtype">double</span> BackgroundColor[3]; <a name="l00185"></a><a class="code" href="a01834.html#3a71e75224a65b102b7b262bfc49c1d9">00185</a> <span class="keywordtype">double</span> BackgroundColor2[3]; <a name="l00186"></a><a class="code" href="a01834.html#adc055b75571c361036e6158d668ba63">00186</a> <span class="keywordtype">double</span> VertexLabelColor[3]; <a name="l00187"></a><a class="code" href="a01834.html#fc1247f300b8544afea67f7aa8cc6d21">00187</a> <span class="keywordtype">double</span> EdgeLabelColor[3]; <a name="l00188"></a>00188 <a name="l00189"></a>00189 <span class="keyword">private</span>: <a name="l00190"></a>00190 <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>(<span class="keyword">const</span> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>&); <span class="comment">// Not implemented.</span> <a name="l00191"></a>00191 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01834.html" title="Sets theme colors for a graphical view.">vtkViewTheme</a>&); <span class="comment">// Not implemented.</span> <a name="l00192"></a>00192 }; <a name="l00193"></a>00193 <a name="l00194"></a>00194 <span class="preprocessor">#endif</span> <a name="l00195"></a>00195 <span class="preprocessor"></span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:38 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>