20 #ifndef Tulip_GLGRAPHRENDERINGPARAMETERS_H
21 #define Tulip_GLGRAPHRENDERINGPARAMETERS_H
24 #include <tulip/Color.h>
25 #include <tulip/DataSet.h>
26 #include <tulip/DoubleProperty.h>
52 void setParameters(
const DataSet &);
57 void setAntialiasing(
const bool state);
62 bool isAntialiased()
const;
67 void setViewArrow(
const bool state);
72 bool isViewArrow()
const;
77 void setViewNodeLabel(
const bool state);
82 bool isViewNodeLabel()
const;
86 void setViewEdgeLabel(
const bool state);
91 bool isViewEdgeLabel()
const;
96 void setViewOutScreenLabel(
const bool state);
101 bool isViewOutScreenLabel()
const;
106 void setEdgeColorInterpolate(
const bool state);
111 bool isEdgeColorInterpolate()
const;
116 void setEdgeSizeInterpolate(
const bool state);
121 bool isEdgeSizeInterpolate()
const;
126 unsigned int getFontsType()
const;
131 void setFontsType(
unsigned int type);
136 void setTexturePath(
const std::string& path);
141 std::string getTexturePath()
const;
146 void setFontsPath(
const std::string& path);
151 std::string getFontsPath()
const;
156 void setViewMetaLabel(
const bool state);
161 bool isViewMetaLabel()
const;
166 void setDisplayEdges(
const bool state);
171 bool isDisplayEdges()
const;
176 void setDisplayNodes(
const bool state);
181 bool isDisplayNodes()
const;
186 void setDisplayMetaNodes(
const bool state);
191 bool isDisplayMetaNodes()
const;
201 void setSelectedNodesStencil(
const int stencil);
206 int getSelectedNodesStencil()
const;
213 void setSelectedMetaNodesStencil(
const int stencil);
218 int getSelectedMetaNodesStencil()
const;
225 void setSelectedEdgesStencil(
const int stencil);
230 int getSelectedEdgesStencil()
const;
237 void setNodesStencil(
const int stencil);
242 int getNodesStencil()
const;
249 void setMetaNodesStencil(
const int stencil);
254 int getMetaNodesStencil()
const;
261 void setEdgesStencil(
const int stencil);
266 int getEdgesStencil()
const;
273 void setNodesLabelStencil(
const int stencil);
278 int getNodesLabelStencil()
const;
285 void setMetaNodesLabelStencil(
const int stencil);
290 int getMetaNodesLabelStencil()
const;
297 void setEdgesLabelStencil(
const int stencil);
302 int getEdgesLabelStencil()
const;
307 void setElementOrdered(
const bool state);
312 bool isElementOrdered()
const;
332 void setElementZOrdered(
const bool state);
337 bool isElementZOrdered()
const;
342 void setEdge3D(
const bool state);
347 bool isEdge3D()
const;
354 unsigned int _DEPRECATED getLabelsBorder()
const;
365 void _DEPRECATED setLabelsBorder(
const unsigned int);
370 void setEdgesMaxSizeToNodesSize(
const bool b);
375 bool getEdgesMaxSizeToNodesSize()
const;
380 void setFeedbackRender(
bool feedback);
385 bool getFeedbackRender()
const;
390 void setSelectionColor(
const Color &color);
395 Color getSelectionColor()
const;
400 bool isLabelScaled()
const;
405 void setLabelScaled(
bool state);
415 int getLabelsDensity()
const;
425 void setLabelsDensity(
int density);
430 int getMinSizeOfLabel()
const;
435 void setMinSizeOfLabel(
int size);
440 int getMaxSizeOfLabel()
const;
445 void setMaxSizeOfLabel(
int size);
451 return _labelsAreBillboarded;
458 _labelsAreBillboarded=billboarded;
467 _displayFilteringProperty=filteringProperty;
474 return _displayFilteringProperty;
484 bool _viewOutScreenLabel;
485 bool _elementOrdered;
486 bool _edgeColorInterpolate;
488 bool _edgeSizeInterpolate;
491 bool _displayMetaNodes;
492 bool _elementZOrdered;
493 int _selectedNodesStencil;
494 int _selectedMetaNodesStencil;
495 int _selectedEdgesStencil;
497 int _metaNodesStencil;
499 int _nodesLabelStencil;
500 int _metaNodesLabelStencil;
501 int _edgesLabelStencil;
506 bool _labelsAreBillboarded;
507 std::string _fontsPath;
508 std::string _texturePath;
509 bool _edgesMaxSizeToNodesSize;
510 bool _feedbackRender;
511 Color _selectionColor;
517 #endif // Tulip_GLGRAPH_H