25#ifndef ODTRRNDSGSCENEGRAPHSETTINGSUI
26#define ODTRRNDSGSCENEGRAPHSETTINGSUI
282 template <
typename TypeTo,
typename TypeFrom>
285 to.setDisplayFPS(from.displayFPS());
286 to.setDisplayStatistics(from.displayStatistics());
287 to.setUnionsFading(from.fadeUnions());
288 to.setColorDataExtensible(from.colorDataExtensible());
289 to.setLineStripsExplode(from.explodeLineStrips());
290 to.setTriangleStripsExplode(from.explodeTriangleStrips());
291 to.setTtfTextsFlattening(from.flattenTtfTexts());
292 to.setBlockRefsExploding(from.explodeBlockRefs());
293 to.setAllowNestedSceneGraphs(from.allowNestedSceneGraphs());
294 to.setDrawOrderEmbedding(from.embedDrawOrder());
295 to.setPurgeGrouppedRenders(from.purgeGrouppedRenders());
296 to.setUnionsSharing(from.shareUnions());
297 to.setBlocksInstancing(from.blocksInstancing());
298 to.setSceneTreeType((
OD_TYPENAME TypeTo::SceneTreeType)from.sceneTreeType());
299 to.setAuxiliaryTreeType((
OD_TYPENAME TypeTo::SceneTreeType)from.auxiliaryTreeType());
300 to.setBalancingMode((
OD_TYPENAME TypeTo::BalancingMode)from.balancingMode());
301 to.setWeightedBalancingLimit(from.weightedBalancingLimit());
302 to.setBalancingLevelLimit(from.balancingLevelLimit());
303 to.setBalancingMergeDepth(from.balancingMergeDepth());
304 to.setMinimalUnionPercentsDraw(from.minimalUnionPercentsDraw());
305 to.setMaximalUnionSize(from.maximalUnionSize());
306 to.setLineStripsExplodeLimit(from.lineStripsExplodeLimit());
307 to.setTriangleStripsExplodeLimit(from.triangleStripsExplodeLimit());
308 to.setBlockRefsExplodeLimit(from.blockRefsExplodeLimit());
309 to.setBlockRefsInstancingLimit(from.blockRefsInstancingLimit());
310 to.setThreadsMaximum(from.threadsMaximum());
312 template <
typename TypeTo,
typename TypeFrom>
315 to.setVisualizeRenders(from.visualizeRenders());
316 to.setVisualizeTreeStructure(from.visualizeTreeStructure());
317 to.setVisualizeRenderExtents(from.visualizeRenderExtents());
318 to.setMaxTreeDepth(from.maxTreeDepth());
319 to.setMaxObjectsSubdivide(from.maxObjectsSubdivide());
320 to.setMinTreeNodeSize(from.minTreeNodeSize());
321 to.setNodeFittingRatio(from.nodeFittingRatio());
322 to.setFirstNodeExtraMultiplier(from.firstNodeExtraMultiplier());
437 {
if (!nReason)
return;
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
virtual RangeElement * createRangeBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, bool bSigned=false, bool bFP=false)=0
virtual Element * getElement(OdUInt32 nElementId) const =0
virtual ListElement * createComboBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, OdUInt32 nOpenLines=4)=0
virtual TextElement * createText(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, OdUInt32 nStrings=1, bool bBorder=false, ODCOLORREF color=ODRGB(0, 0, 0))=0
virtual GroupElement * createGroup(OdUInt32 nElementId, bool bExpandeable=true, bool bExpanded=true)=0
virtual TextElement * createCheckBox(OdUInt32 nElementId, GroupElement *pGroup=NULL, ElementSize size=k8d8, bool bChecked=false, bool bLText=false)=0
void setThreadsMaximum(OdUInt32 nThreadsMax)
BalancingMode balancingMode() const
bool displayStatistics() const
OdUInt32 blockRefsInstancingLimit() const
bool visualizeRenderExtents() const
OdUInt32 blockRefsExplodeLimit() const
static void copyRootsConfig(TypeTo &to, const TypeFrom &from)
@ kUIDisplayStatsCheckBox
@ kUIVisualizeTreesCheckBox
@ kUINodeFittingRatioRangeBox
@ kUIUnionsFadingCheckBox
@ kUIVisualizeRendersCheckBox
@ kUILineStripsLimRangeBox
@ kUIExplodeBlockRefsCheckBox
@ kUIMaxNodeObjectsRangeBox
@ kUIColorDataExtCheckBox
@ kUIEmbedOrderingCheckBox
@ kUIBalancingDepthRangeBox
@ kUINodeFittingRatioText
@ kUIVisualizeExtentsCheckBox
@ kUIBalancingLimitRangeBox
@ kUIPurgeGrouppedCheckBox
@ kUILineStripsExpCheckBox
@ kUISceneTreeTypeComboBox
@ kUIMaxTreeDepthRangeBox
@ kUIVisualizeExtentsText
@ kUIMinUnionDrawRangeBox
@ kUITrgStripsExpCheckBox
@ kUIBlkRefExpLimRangeBox
@ kUIBalancingModeComboBox
@ kUIInstanceBlocksCheckBox
@ kUINestedGraphsCheckBox
@ kUIVisualizeRendersText
@ kUIExplodeBlockRefsText
@ kUIFirstNodeMultRangeBox
@ kUITrgStripsLimRangeBox
@ kUIMaxUnionSizeRangeBox
@ kUIBlkRefInstLimRangeBox
void setUnionsFading(bool bEnable)
OdUInt32 m_nLineStripsLim
void setUnionsSharing(bool bEnable)
virtual void elementChanged(ExtBar::Element *)
void setAuxiliaryTreeType(SceneTreeType treeType)
bool colorDataExtensible() const
void setColorDataExtensible(bool bEnable)
double m_fNodeFittingRatio
OdUInt32 m_nMaxObjectsSubdivide
void setTriangleStripsExplodeLimit(OdUInt32 expLimit)
void setFirstNodeExtraMultiplier(double fInitialNodeMult)
bool blocksInstancing() const
void setBalancingMode(BalancingMode balancingMode)
void setLineStripsExplodeLimit(OdUInt32 expLimit)
virtual void closeExtBar(ExtBar *pExtBar, int nReason)
void setBalancingLevelLimit(OdUInt32 minDepthLimit)
SceneTreeType m_sceneTreeType
bool explodeBlockRefs() const
bool allowNestedSceneGraphs() const
SceneTreeType sceneTreeType() const
void setVisualizeRenderExtents(bool bSet)
void setTriangleStripsExplode(bool bEnable)
void setMaxTreeDepth(OdUInt32 nMaxTreeDepth)
void setMaxObjectsSubdivide(OdUInt32 nMaxObjectSubdivide)
void setNodeFittingRatio(double fNodeFittingRatio)
double nodeFittingRatio() const
double m_fMinTreeNodeSize
void setVisualizeRenders(bool bSet)
bool purgeGrouppedRenders() const
OdUInt32 minimalUnionPercentsDraw() const
void setVisualizeTreeStructure(bool bSet)
OdUInt32 maxTreeDepth() const
OdUInt32 weightedBalancingLimit() const
OdUInt32 balancingMergeDepth() const
OdUInt32 maxObjectsSubdivide() const
void setBlocksInstancing(bool bEnable)
OdUInt32 lineStripsExplodeLimit() const
SceneTreeType auxiliaryTreeType() const
void setDisplayStatistics(bool bEnable)
void setBalancingMergeDepth(OdUInt32 mergeDepth)
bool explodeLineStrips() const
double firstNodeExtraMultiplier() const
OdUInt32 threadsMaximum() const
void setLineStripsExplode(bool bEnable)
void setMinTreeNodeSize(double fMinTreeNodeSize)
void setBlockRefsInstancingLimit(OdUInt32 nLimit)
void setBlockRefsExploding(bool bEnable)
void setMinimalUnionPercentsDraw(OdUInt32 minDrawPerc)
double minTreeNodeSize() const
void setPurgeGrouppedRenders(bool bEnable)
OdTrRndSgSceneGraphSettingsUI()
OdUInt32 m_nBlkRefInstLim
void setSceneTreeType(SceneTreeType treeType)
BalancingMode m_balancingMode
bool flattenTtfTexts() const
OdUInt32 maximalUnionSize() const
@ kAllowNestedSceneGraphs
@ kVisualizeTreeStructure
@ kVisualizeRenderExtents
bool embedDrawOrder() const
OdTrRndSgSceneGraphSettingsUI & operator=(const OdTrRndSgSceneGraphSettingsUI &uiSets)
bool visualizeRenders() const
OdUInt32 triangleStripsExplodeLimit() const
static void copyGlobalSettings(TypeTo &to, const TypeFrom &from)
void setBlockRefsExplodeLimit(OdUInt32 nLimit)
void setDrawOrderEmbedding(bool bEnable)
bool visualizeTreeStructure() const
virtual void fillExtBar(ExtBar *pExtBar)
void setWeightedBalancingLimit(OdUInt32 weightLimit)
OdUInt32 balancingLevelLimit() const
void setMaximalUnionSize(OdUInt32 nBytes)
bool explodeTriangleStrips() const
void setDisplayFPS(bool bEnable)
double m_fInitialNodeMult
SceneTreeType m_auxTreeType
void setAllowNestedSceneGraphs(bool bEnable)
void setTtfTextsFlattening(bool bEnable)
static CheckElement * cast(Element *pIface)
virtual void setSelString(int nString)=0
virtual void addString(const OdString &string)=0
static ListElement * cast(Element *pIface)
virtual void setFP(double fPos=0.0, double fMin=DBL_MIN, double fMax=DBL_MAX, double fDelta=0.01)=0
virtual void setUInt(OdUInt32 nPos=0, OdUInt32 nMin=0, OdUInt32 nMax=UINT_MAX, OdInt32 nDelta=1)=0
static RangeElement * cast(Element *pIface)
static TextElement * cast(Element *pIface)
virtual void setText(const OdString &text)=0