NX Open C++ Reference Guide
|
Represents all view dependent display operations
To obtain an instance of this class, refer to NXOpen::View
Created in NX5.0.0.
More...
Public Types | |
enum | Font { FontInvisible, FontSolid, FontDashed, FontPhantom, FontCenterline, FontDotted, FontLongDashed, FontDottedDashed, FontObject } |
specifies the font for wireframe edits Created in NX5.0.0. More... | |
enum | PartialShading { PartialShadingNoChange, PartialShadingOriginal, PartialShadingNo, PartialShadingYes } |
specifies the partial shading options for shading edits Created in NX5.0.0. More... | |
enum | Translucency { TranslucencyNoChange, TranslucencyOriginal, TranslucencyYes } |
specifies the translucency options for shading edits Created in NX5.0.0. More... | |
enum | Width { WidthNormal, WidthThick, WidthThin, WidthObject, WidthOne = 5, WidthTwo, WidthThree, WidthFour, WidthFive, WidthSix, WidthSeven, WidthEight, WidthNine } |
specifies the width for wireframe edits Created in NX5.0.0. More... | |
Public Member Functions | |
void | 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) |
Applies a wireframe edit to specified objects in a view. More... | |
void | ApplySegmentEdit (NXOpen::DisplayableObject *object, NXOpen::ViewDependentDisplayManager::Font font, NXOpen::ViewDependentDisplayManager::Width width, const std::vector< double > &segmentStart, const std::vector< double > &segmentEnd) |
Applies a wireframe edit to specified objects in a view when the color is the original color Created in NX6.0.3. More... | |
void | ApplyShadeEdit (NXOpen::NXColor *shadeColor, NXOpen::ViewDependentDisplayManager::PartialShading partialShading, NXOpen::ViewDependentDisplayManager::Translucency translucencyOption, int translucencyScale, const std::vector< NXOpen::DisplayableObject * > &objects) |
Applies a shading edit to specified faces and/or bodies in a view. More... | |
void | ApplyShadeEdit (NXOpen::ViewDependentDisplayManager::PartialShading partialShading, NXOpen::ViewDependentDisplayManager::Translucency translucencyOption, int translucencyScale, const std::vector< NXOpen::DisplayableObject * > &objects) |
Applies a shading edit to specified faces and/or bodies in a view when shade color is original color Created in NX6.0.3. More... | |
void | ApplyWireframeEdit (NXOpen::NXColor *color, NXOpen::ViewDependentDisplayManager::Font font, NXOpen::ViewDependentDisplayManager::Width width, const std::vector< NXOpen::DisplayableObject * > &objects) |
Applies a wireframe edit to specified objects in a view. More... | |
void | ApplyWireframeEdit (NXOpen::ViewDependentDisplayManager::Font font, NXOpen::ViewDependentDisplayManager::Width width, const std::vector< NXOpen::DisplayableObject * > &objects) |
Applies a wireframe edit to specified objects in a view when the color is the original color Created in NX6.0.3. More... | |
void | Erase (const std::vector< NXOpen::DisplayableObject * > &objects) |
Erases specified objects in a view. More... | |
void | MoveToModel (const std::vector< NXOpen::DisplayableObject * > &objects) |
Moves view objects to model. More... | |
void | MoveToView (const std::vector< NXOpen::DisplayableObject * > &objects) |
Moves model objects to view. More... | |
void | RemoveAllEdits () |
Removes all edits and erasures from all objects in a view. More... | |
void | RemoveEdit (const std::vector< NXOpen::DisplayableObject * > &objects) |
Removes edits from specified objects in a view. More... | |
void | RemoveErasure (const std::vector< NXOpen::DisplayableObject * > &objects) |
Removes erasures from specified objects in a view. More... | |
void | RemoveErasureOnObjectAndSubobjects (const std::vector< NXOpen::DisplayableObject * > &objects, bool removeFromSubObjects) |
Removes erasures from specified objects and optional subobjects in a view. More... | |
void | SetBackground (const std::vector< NXOpen::DisplayableObject * > &objects) |
Sets visibility of background objects. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents all view dependent display operations
To obtain an instance of this class, refer to NXOpen::View
Created in 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 | ||
) |
Applies a wireframe edit to specified objects in a view.
Created in NX5.0.0.
License requirements : None
object | object |
color | color |
font | font |
width | width |
segmentStart | The length of the segment_start and segment_end arrays must match. |
segmentEnd | The length of the segment_start and segment_end arrays must match. |
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 | ||
) |
Applies a wireframe edit to specified objects in a view when the color is the original color
Created in NX6.0.3.
License requirements : None
object | object |
font | font |
width | width |
segmentStart | The length of the segment_start and segment_end arrays must match. |
segmentEnd | The length of the segment_start and segment_end arrays must match. |
void NXOpen::ViewDependentDisplayManager::ApplyShadeEdit | ( | NXOpen::NXColor * | shadeColor, |
NXOpen::ViewDependentDisplayManager::PartialShading | partialShading, | ||
NXOpen::ViewDependentDisplayManager::Translucency | translucencyOption, | ||
int | translucencyScale, | ||
const std::vector< NXOpen::DisplayableObject * > & | objects | ||
) |
Applies a shading edit to specified faces and/or bodies in a view.
Created in NX5.0.0.
License requirements : None
shadeColor | shade color |
partialShading | partial shading |
translucencyOption | translucency option |
translucencyScale | new translucency value in the range 0 to 100 |
objects | objects |
void NXOpen::ViewDependentDisplayManager::ApplyShadeEdit | ( | NXOpen::ViewDependentDisplayManager::PartialShading | partialShading, |
NXOpen::ViewDependentDisplayManager::Translucency | translucencyOption, | ||
int | translucencyScale, | ||
const std::vector< NXOpen::DisplayableObject * > & | objects | ||
) |
Applies a shading edit to specified faces and/or bodies in a view when shade color is original color
Created in NX6.0.3.
License requirements : None
partialShading | partial shading |
translucencyOption | translucency option |
translucencyScale | new translucency value in the range 0 to 100 |
objects | objects |
void NXOpen::ViewDependentDisplayManager::ApplyWireframeEdit | ( | NXOpen::NXColor * | color, |
NXOpen::ViewDependentDisplayManager::Font | font, | ||
NXOpen::ViewDependentDisplayManager::Width | width, | ||
const std::vector< NXOpen::DisplayableObject * > & | objects | ||
) |
Applies a wireframe edit to specified objects in a view.
Created in NX5.0.0.
License requirements : None
color | color |
font | font |
width | width |
objects | objects |
void NXOpen::ViewDependentDisplayManager::ApplyWireframeEdit | ( | NXOpen::ViewDependentDisplayManager::Font | font, |
NXOpen::ViewDependentDisplayManager::Width | width, | ||
const std::vector< NXOpen::DisplayableObject * > & | objects | ||
) |
Applies a wireframe edit to specified objects in a view when the color is the original color
Created in NX6.0.3.
License requirements : None
font | font |
width | width |
objects | objects |
void NXOpen::ViewDependentDisplayManager::Erase | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Erases specified objects in a view.
Created in NX5.0.0.
License requirements : None
objects | objects |
void NXOpen::ViewDependentDisplayManager::MoveToModel | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Moves view objects to model.
Created in NX5.0.0.
License requirements : None
objects | objects |
void NXOpen::ViewDependentDisplayManager::MoveToView | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Moves model objects to view.
Created in NX5.0.0.
License requirements : None
objects | objects |
void NXOpen::ViewDependentDisplayManager::RemoveAllEdits | ( | ) |
Removes all edits and erasures from all objects in a view.
Created in NX5.0.0.
License requirements : None
void NXOpen::ViewDependentDisplayManager::RemoveEdit | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Removes edits from specified objects in a view.
Created in NX5.0.0.
License requirements : None
objects | objects |
void NXOpen::ViewDependentDisplayManager::RemoveErasure | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Removes erasures from specified objects in a view.
Created in NX5.0.0.
License requirements : None
objects | objects |
void NXOpen::ViewDependentDisplayManager::RemoveErasureOnObjectAndSubobjects | ( | const std::vector< NXOpen::DisplayableObject * > & | objects, |
bool | removeFromSubObjects | ||
) |
Removes erasures from specified objects and optional subobjects in a view.
Created in NX11.0.0.
License requirements : None
objects | objects |
removeFromSubObjects | removefromsubobjects |
void NXOpen::ViewDependentDisplayManager::SetBackground | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Sets visibility of background objects.
Created in NX5.0.0.
License requirements : None
objects | objects |
tag_t NXOpen::ViewDependentDisplayManager::Tag | ( | ) | const |
Returns the tag of this object.