|
NX Open C++ 参考指南 2406 v1.1
|
视图相关显示管理器 更多...
#include <ViewDependentDisplayManager.hxx>
Public 类型 | |
| enum | Font { FontInvisible , FontSolid , FontDashed , FontPhantom , FontCenterline , FontDotted , FontLongDashed , FontDottedDashed , FontObject , FontEight = 11 , FontNine , FontTen , FontEleven } |
| enum | PartialShading { PartialShadingNoChange , PartialShadingOriginal , PartialShadingNo , PartialShadingYes } |
| enum | Translucency { TranslucencyNoChange , TranslucencyOriginal , TranslucencyYes } |
| enum | Width { WidthNormal , WidthThick , WidthThin , WidthObject , WidthOne = 5 , WidthTwo , WidthThree , WidthFour , WidthFive , WidthSix , WidthSeven , WidthEight , WidthNine } |
视图相关显示管理器
表示所有视图相关的显示操作
要获取此类的实例,请参考 NXOpen::View
创建于 NX5.0.0.
| void NXOpen::ViewDependentDisplayManager::ApplySegmentEdit | ( | NXOpen::DisplayableObject * | object, |
| NXOpen::NXColor * | color, | ||
| NXOpen::ViewDependentDisplayManager::Font | font, | ||
| NXOpen::ViewDependentDisplayManager::Width | width, | ||
| const std::vector< double > & | segmentStart, | ||
| const std::vector< double > & | segmentEnd ) |
在视图中对指定对象应用线段编辑。
创建于 NX5.0.0。
许可证要求:无
| object | 对象 |
| color | 颜色 |
| font | 字体 |
| width | 宽度 |
| segmentStart | segment_start 和 segment_end 数组的长度必须匹配。 |
| segmentEnd | segment_start 和 segment_end 数组的长度必须匹配。 |
| void NXOpen::ViewDependentDisplayManager::ApplySegmentEdit | ( | NXOpen::DisplayableObject * | object, |
| NXOpen::ViewDependentDisplayManager::Font | font, | ||
| NXOpen::ViewDependentDisplayManager::Width | width, | ||
| const std::vector< double > & | segmentStart, | ||
| const std::vector< double > & | segmentEnd ) |
当颜色为原始颜色时,在视图中对指定对象应用线段编辑。
创建于 NX6.0.3。
许可证要求:无
| object | 对象 |
| font | 字体 |
| width | 宽度 |
| segmentStart | segment_start 和 segment_end 数组的长度必须匹配。 |
| segmentEnd | segment_start 和 segment_end 数组的长度必须匹配。 |
| void NXOpen::ViewDependentDisplayManager::ApplyShadeEdit | ( | NXOpen::NXColor * | shadeColor, |
| NXOpen::ViewDependentDisplayManager::PartialShading | partialShading, | ||
| NXOpen::ViewDependentDisplayManager::Translucency | translucencyOption, | ||
| int | translucencyScale, | ||
| const std::vector< NXOpen::DisplayableObject * > & | objects ) |
在视图中对指定的面和/或体应用着色编辑。
创建于 NX5.0.0。
许可证要求:无
| shadeColor | 着色颜色 |
| partialShading | 部分着色 |
| translucencyOption | 半透明选项 |
| translucencyScale | 新的半透明值,范围为 0 到 100 |
| objects | 对象 |
| void NXOpen::ViewDependentDisplayManager::ApplyShadeEdit | ( | NXOpen::ViewDependentDisplayManager::PartialShading | partialShading, |
| NXOpen::ViewDependentDisplayManager::Translucency | translucencyOption, | ||
| int | translucencyScale, | ||
| const std::vector< NXOpen::DisplayableObject * > & | objects ) |
当着色颜色为原始颜色时,在视图中对指定的面和/或体应用着色编辑。
创建于 NX6.0.3。
许可证要求:无
| partialShading | 部分着色 |
| translucencyOption | 半透明选项 |
| translucencyScale | 新的半透明值,范围为 0 到 100 |
| objects | 对象 |
| void NXOpen::ViewDependentDisplayManager::ApplyWireframeEdit | ( | NXOpen::NXColor * | color, |
| NXOpen::ViewDependentDisplayManager::Font | font, | ||
| NXOpen::ViewDependentDisplayManager::Width | width, | ||
| const std::vector< NXOpen::DisplayableObject * > & | objects ) |
在视图中对指定对象应用线框编辑。
创建于 NX5.0.0。
许可证要求:无
| color | 颜色 |
| font | 字体 |
| width | 宽度 |
| objects | 对象 |
| void NXOpen::ViewDependentDisplayManager::ApplyWireframeEdit | ( | NXOpen::ViewDependentDisplayManager::Font | font, |
| NXOpen::ViewDependentDisplayManager::Width | width, | ||
| const std::vector< NXOpen::DisplayableObject * > & | objects ) |
当颜色为原始颜色时,在视图中对指定对象应用线框编辑。
创建于 NX6.0.3。
许可证要求:无
| font | 字体 |
| width | 宽度 |
| objects | 对象 |
| void NXOpen::ViewDependentDisplayManager::Erase | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
在视图中擦除指定对象。
创建于 NX5.0.0。
许可证要求:无
| objects | 对象 |
| void NXOpen::ViewDependentDisplayManager::MoveToModel | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
将视图对象移动到模型。
创建于 NX5.0.0。
许可要求:无
| objects | 要操作的对象 |
| void NXOpen::ViewDependentDisplayManager::MoveToView | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
将模型对象移动到视图。
创建于 NX5.0.0。
许可要求:无
| objects | 要操作的对象 |
| void NXOpen::ViewDependentDisplayManager::RemoveAllEdits | ( | ) |
从视图的所有对象中移除所有编辑和擦除操作。
创建于 NX5.0.0。
许可要求:无
| void NXOpen::ViewDependentDisplayManager::RemoveEdit | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
从视图中的指定对象移除编辑。
创建于 NX5.0.0。
许可证要求:无
| objects | 对象 |
| void NXOpen::ViewDependentDisplayManager::RemoveErasureOnObjectAndSubobjects | ( | const std::vector< NXOpen::DisplayableObject * > & | objects, |
| bool | removeFromSubObjects ) |
从视图中的指定对象移除擦除。
对象 从视图中的指定对象和可选子对象移除擦除。
创建于 NX11.0.0。
许可证要求:无
| objects | 对象 |
| removeFromSubObjects | 从子对象移除 |
| void NXOpen::ViewDependentDisplayManager::SetBackground | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
设置背景对象的可见性。
创建于 NX5.0.0。
许可要求:无
| objects | 要操作的对象 |
| tag_t NXOpen::ViewDependentDisplayManager::Tag | ( | ) | const |
返回该对象的标签。