NX Open C++ Reference Guide
|
Represents a Display::Wall
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Types | |
enum | MaterialType { MaterialTypeShadowCatcher, MaterialTypeReflective, MaterialTypeInvisible } |
Defines the material characteristics of a stage wall. More... | |
Public Member Functions | |
NXOpen::Display::Image * | Image () |
Returns the walls's image builder Created in NX5.0.0. | |
NXString | ImageFilename () |
Returns the stage wall's image filename Created in NX5.0.0. | |
double | PatternRepeatFactor () |
Returns the pattern repeat factor - the number of times the image repeats Created in NX5.0.0. | |
double | Reflectivity () |
Returns the reflectivity of a wall - the percentage of the environment reflected off of the wall Created in NX5.0.0. | |
void | SetImage (NXOpen::Display::Image *imageBuilder) |
Sets the walls's image builder Created in NX5.0.0. | |
void | SetImageFilename (const NXString &newImageFileName) |
Sets the stage wall's image filename Created in NX5.0.0. | |
void | SetImageFilename (const char *newImageFileName) |
Sets the stage wall's image filename Created in NX5.0.0. | |
void | SetPatternRepeatFactor (double patternRepeatFactor) |
Sets the pattern repeat factor - the number of times the image repeats Created in NX5.0.0. | |
void | SetReflectivity (double reflectivity) |
Sets the reflectivity of a wall - the percentage of the environment reflected off of the wall Created in NX5.0.0. | |
void | SetWallMaterialType (NXOpen::Display::Wall::MaterialType wallMaterialType) |
Sets the wall material type - either shadow_catcher, reflective, or invisible Created in NX5.0.0. | |
NXOpen::Display::Wall::MaterialType | WallMaterialType () |
Returns the wall material type - either shadow_catcher, reflective, or invisible Created in NX5.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Display::Wall
This class is restricted to being called from a program running during an Interactive NX session.
If run from a non-interactive session it will return NULL.
To create a new instance of this class, use ViewCollection::CreateWall
Created in NX5.0.0.
Defines the material characteristics of a stage wall.
NXOpen::Display::Image* NXOpen::Display::Wall::Image | ( | ) |
Returns the walls's image builder
Created in NX5.0.0.
License requirements : None
NXString NXOpen::Display::Wall::ImageFilename | ( | ) |
Returns the stage wall's image filename
Created in NX5.0.0.
License requirements : None
double NXOpen::Display::Wall::PatternRepeatFactor | ( | ) |
Returns the pattern repeat factor - the number of times the image repeats
Created in NX5.0.0.
License requirements : None
double NXOpen::Display::Wall::Reflectivity | ( | ) |
Returns the reflectivity of a wall - the percentage of the environment reflected off of the wall
Created in NX5.0.0.
License requirements : None
void NXOpen::Display::Wall::SetImage | ( | NXOpen::Display::Image * | imageBuilder | ) |
Sets the walls's image builder
Created in NX5.0.0.
License requirements : None
imageBuilder | image builder |
void NXOpen::Display::Wall::SetImageFilename | ( | const NXString & | newImageFileName | ) |
Sets the stage wall's image filename
Created in NX5.0.0.
License requirements : None
newImageFileName | new image file name |
void NXOpen::Display::Wall::SetImageFilename | ( | const char * | newImageFileName | ) |
Sets the stage wall's image filename
Created in NX5.0.0.
License requirements : None
newImageFileName | new image file name |
void NXOpen::Display::Wall::SetPatternRepeatFactor | ( | double | patternRepeatFactor | ) |
Sets the pattern repeat factor - the number of times the image repeats
Created in NX5.0.0.
License requirements : None
patternRepeatFactor | patternrepeatfactor |
void NXOpen::Display::Wall::SetReflectivity | ( | double | reflectivity | ) |
Sets the reflectivity of a wall - the percentage of the environment reflected off of the wall
Created in NX5.0.0.
License requirements : None
reflectivity | reflectivity |
void NXOpen::Display::Wall::SetWallMaterialType | ( | NXOpen::Display::Wall::MaterialType | wallMaterialType | ) |
Sets the wall material type - either shadow_catcher, reflective, or invisible
Created in NX5.0.0.
License requirements : None
wallMaterialType | wallmaterialtype |
NXOpen::Display::Wall::MaterialType NXOpen::Display::Wall::WallMaterialType | ( | ) |
Returns the wall material type - either shadow_catcher, reflective, or invisible
Created in NX5.0.0.
License requirements : None