NX Open C++ Reference Guide
|
Represents a Display::StudioImageCaptureBuilder
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Member Functions | |
NXOpen::Display::StudioImageCaptureBuilder::AASamplesEnumType | AASamplesEnum () |
Returns the antialiasing samples enum Created in NX6.0.4. | |
NXOpen::Display::StudioImageCaptureBuilder::DPIEnumType | DpiEnum () |
Returns the dpi enum Created in NX6.0.4. | |
NXOpen::Display::StudioImageCaptureBuilder::DrawingSizeEnumType | DrawingSizeEnum () |
Returns the drawing size enum Created in NX6.0.4. | |
std::vector< double > | GetImageDimensionsDouble () |
Gets the double image dimensions, height and width. | |
std::vector< int > | GetImageDimensionsInteger () |
Gets the integer image dimensions, height and width. | |
NXString | NativeFileBrowser () |
Returns the native file browser for image type to produce Created in NX6.0.4. | |
NXOpen::Display::StudioImageCaptureBuilder::OrientEnumType | OrientEnum () |
Returns the orient enum Created in NX6.0.4. | |
void | SetAASamplesEnum (NXOpen::Display::StudioImageCaptureBuilder::AASamplesEnumType aASamplesEnum) |
Sets the antialiasing samples enum Created in NX6.0.4. | |
void | SetDpiEnum (NXOpen::Display::StudioImageCaptureBuilder::DPIEnumType dpiEnum) |
Sets the dpi enum Created in NX6.0.4. | |
void | SetDrawingSizeEnum (NXOpen::Display::StudioImageCaptureBuilder::DrawingSizeEnumType drawingSizeEnum) |
Sets the drawing size enum Created in NX6.0.4. | |
void | SetImageDimensionsDouble (const std::vector< double > &imageDimensionsDouble) |
Sets the double image dimensions, height and width Created in NX6.0.4. | |
void | SetImageDimensionsInteger (const std::vector< int > &imageDimensionsInteger) |
Sets the integer image dimensions, height and width Created in NX6.0.4. | |
void | SetNativeFileBrowser (const NXString &filename) |
Sets the native file browser for image type to produce Created in NX6.0.4. | |
void | SetNativeFileBrowser (const char *filename) |
Sets the native file browser for image type to produce Created in NX6.0.4. | |
void | SetOrientEnum (NXOpen::Display::StudioImageCaptureBuilder::OrientEnumType orientEnum) |
Sets the orient enum Created in NX6.0.4. | |
void | SetUnitsEnum (NXOpen::Display::StudioImageCaptureBuilder::UnitsEnumType unitsEnum) |
Sets the units enum Created in NX6.0.4. | |
NXOpen::Display::StudioImageCaptureBuilder::UnitsEnumType | UnitsEnum () |
Returns the units enum Created in NX6.0.4. | |
![]() | |
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::StudioImageCaptureBuilder
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::CreateStudioImageCaptureBuilder
Default values.
Property | Value |
---|---|
AASamplesEnum |
Sam0X |
DpiEnum |
Dpi72 |
DrawingSizeEnum |
Isoa4 |
OrientEnum |
Landscape |
UnitsEnum |
Pixels |
Created in NX6.0.4.
Provide the following anti-aliasing sample size for off screen image capture.
Provide the following standard Drawing sizes.
NXOpen::Display::StudioImageCaptureBuilder::AASamplesEnumType NXOpen::Display::StudioImageCaptureBuilder::AASamplesEnum | ( | ) |
Returns the antialiasing samples enum
Created in NX6.0.4.
License requirements : None
NXOpen::Display::StudioImageCaptureBuilder::DPIEnumType NXOpen::Display::StudioImageCaptureBuilder::DpiEnum | ( | ) |
Returns the dpi enum
Created in NX6.0.4.
License requirements : None
NXOpen::Display::StudioImageCaptureBuilder::DrawingSizeEnumType NXOpen::Display::StudioImageCaptureBuilder::DrawingSizeEnum | ( | ) |
Returns the drawing size enum
Created in NX6.0.4.
License requirements : None
std::vector<double> NXOpen::Display::StudioImageCaptureBuilder::GetImageDimensionsDouble | ( | ) |
Gets the double image dimensions, height and width.
std::vector<int> NXOpen::Display::StudioImageCaptureBuilder::GetImageDimensionsInteger | ( | ) |
Gets the integer image dimensions, height and width.
NXString NXOpen::Display::StudioImageCaptureBuilder::NativeFileBrowser | ( | ) |
Returns the native file browser for image type to produce
Created in NX6.0.4.
License requirements : None
NXOpen::Display::StudioImageCaptureBuilder::OrientEnumType NXOpen::Display::StudioImageCaptureBuilder::OrientEnum | ( | ) |
Returns the orient enum
Created in NX6.0.4.
License requirements : None
void NXOpen::Display::StudioImageCaptureBuilder::SetAASamplesEnum | ( | NXOpen::Display::StudioImageCaptureBuilder::AASamplesEnumType | aASamplesEnum | ) |
Sets the antialiasing samples enum
Created in NX6.0.4.
License requirements : None
aASamplesEnum | aasamplesenum |
void NXOpen::Display::StudioImageCaptureBuilder::SetDpiEnum | ( | NXOpen::Display::StudioImageCaptureBuilder::DPIEnumType | dpiEnum | ) |
Sets the dpi enum
Created in NX6.0.4.
License requirements : None
dpiEnum | dpienum |
void NXOpen::Display::StudioImageCaptureBuilder::SetDrawingSizeEnum | ( | NXOpen::Display::StudioImageCaptureBuilder::DrawingSizeEnumType | drawingSizeEnum | ) |
Sets the drawing size enum
Created in NX6.0.4.
License requirements : None
drawingSizeEnum | drawingsizeenum |
void NXOpen::Display::StudioImageCaptureBuilder::SetImageDimensionsDouble | ( | const std::vector< double > & | imageDimensionsDouble | ) |
Sets the double image dimensions, height and width
Created in NX6.0.4.
License requirements : None
imageDimensionsDouble | array of 2 doubles |
void NXOpen::Display::StudioImageCaptureBuilder::SetImageDimensionsInteger | ( | const std::vector< int > & | imageDimensionsInteger | ) |
Sets the integer image dimensions, height and width
Created in NX6.0.4.
License requirements : None
imageDimensionsInteger | array of 2 integers |
void NXOpen::Display::StudioImageCaptureBuilder::SetNativeFileBrowser | ( | const NXString & | filename | ) |
Sets the native file browser for image type to produce
Created in NX6.0.4.
License requirements : None
filename | filename |
void NXOpen::Display::StudioImageCaptureBuilder::SetNativeFileBrowser | ( | const char * | filename | ) |
Sets the native file browser for image type to produce
Created in NX6.0.4.
License requirements : None
filename | filename |
void NXOpen::Display::StudioImageCaptureBuilder::SetOrientEnum | ( | NXOpen::Display::StudioImageCaptureBuilder::OrientEnumType | orientEnum | ) |
Sets the orient enum
Created in NX6.0.4.
License requirements : None
orientEnum | orientenum |
void NXOpen::Display::StudioImageCaptureBuilder::SetUnitsEnum | ( | NXOpen::Display::StudioImageCaptureBuilder::UnitsEnumType | unitsEnum | ) |
Sets the units enum
Created in NX6.0.4.
License requirements : None
unitsEnum | unitsenum |
NXOpen::Display::StudioImageCaptureBuilder::UnitsEnumType NXOpen::Display::StudioImageCaptureBuilder::UnitsEnum | ( | ) |
Returns the units enum
Created in NX6.0.4.
License requirements : None