NXOpen .NET Reference
12.0.0
|
Represents the properties and methods for generating a High Quality Image of a Modeling View More...
Public Types | |
enum | ShadeMethod { Flat, Gouraud, Phong, Improved, Preview, PhotoRealistic, RayTraced, RayTracedFfa, Radiosity, HybridRadiosity } |
Describes the method to be used to generate a High Quality Image More... | |
enum | FormatType { RasterImage, QtvrPanorama, QtvrObjectLow, QtvrObjectHigh } |
Describes the output format of the High Quality Image to be generated More... | |
enum | DisplayTechniqueType { RgbPlusNoise, FsRgb, FsRgbPlusNoise, Monochrome, GrayScale, NearestRgb, OrderedDither, TcPlusNoise } |
Describes the technique to be used when generating the High Quality Image More... | |
Public Member Functions | |
unsafe void | Generate () |
Generates a high qualilty image of a view based on the previously defined shading parameters for the view. More... | |
unsafe void | Save (string imageFileName, bool compressImage) |
Saves the currently displayed high quality image of a view to a file. More... | |
unsafe void | Erase () |
Erases the previously generated high qualilty image of a view. More... | |
unsafe void | Plot (NXOpen.Preferences.SessionVisualizationHighQualityImage.ResolutionType resolution, int dotsPerInch, NXOpen.Preferences.SessionVisualizationHighQualityImage.PlotQualityType plotQuality, string plotFileName) |
Plots the previously generated high qualilty image of a view. More... | |
unsafe void | ShowImageInformation () |
Shows information about the last image rendered. More... | |
unsafe void | GetImageCounts (out int numberBodiesRendered, out int numberFacesRendered, out int numberPolygonsGenerated, out double polygonGenerationSeconds, out double shadowGenerationSeconds, out double imageGenerationSeconds) |
Get information about the last image rendered. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
unsafe NXOpen.ModelingViewHighQualityImage.DisplayTechniqueType | DisplayTechnique [get, set] |
Returns or sets the display technique to use for the generation of the High Quality Image. More... | |
unsafe double | FacetsQuality [get, set] |
Returns or sets the quality of the facets of the High Quality Image. More... | |
unsafe NXOpen.ModelingViewHighQualityImage.FormatType | Format [get, set] |
Returns or sets the format to use for the generation of the High Quality Image. More... | |
unsafe NXOpen.ModelingViewHighQualityImage.ShadeMethod | Method [get, set] |
Returns or sets the method to use for the generation of the High Quality Image. More... | |
unsafe bool | Shadows [get, set] |
Returns or sets the setting for whether the High Quality Image is to contain shadows More... | |
unsafe bool | UseIbl [get, set] |
Returns or sets the setting for whether the High Quality Image is to use IBL More... | |
Represents the properties and methods for generating a High Quality Image of a Modeling View
To obtain an instance of this class, refer to NXOpen.ModelingView
Created in NX4.0.0
Describes the technique to be used when generating the High Quality Image
Describes the output format of the High Quality Image to be generated
Describes the method to be used to generate a High Quality Image
unsafe void NXOpen.ModelingViewHighQualityImage.Erase | ( | ) |
Erases the previously generated high qualilty image of a view.
Currently the given view must be the work view.
Created in NX4.0.0
License requirements: None.
unsafe void NXOpen.ModelingViewHighQualityImage.Generate | ( | ) |
Generates a high qualilty image of a view based on the previously defined shading parameters for the view.
Currently the given view must be the work view.
Created in NX4.0.0
License requirements: None.
unsafe void NXOpen.ModelingViewHighQualityImage.GetImageCounts | ( | out int | numberBodiesRendered, |
out int | numberFacesRendered, | ||
out int | numberPolygonsGenerated, | ||
out double | polygonGenerationSeconds, | ||
out double | shadowGenerationSeconds, | ||
out double | imageGenerationSeconds | ||
) |
Get information about the last image rendered.
If no image has been rendered in this session, all zeroes are returned.
Currently the input modeling_view is not used in this function, as the information is returned for the last image regardless of which view it was rendered for. This might change in the future.
Created in NX4.0.0
License requirements: None.
numberBodiesRendered | How many bodies were rendered for the image |
numberFacesRendered | How many faces were rendered for the image |
numberPolygonsGenerated | How many polygons were created from the faces for the image |
polygonGenerationSeconds | Number of seconds to generate the polygons |
shadowGenerationSeconds | Number of seconds to generate the shadows |
imageGenerationSeconds | Number of seconds to generate the image |
unsafe void NXOpen.ModelingViewHighQualityImage.Plot | ( | NXOpen.Preferences.SessionVisualizationHighQualityImage.ResolutionType | resolution, |
int | dotsPerInch, | ||
NXOpen.Preferences.SessionVisualizationHighQualityImage.PlotQualityType | plotQuality, | ||
string | plotFileName | ||
) |
Plots the previously generated high qualilty image of a view.
Currently the given view must be the work view.
Created in NX4.0.0
License requirements: None.
resolution | The resolution for the plot |
dotsPerInch | Used only when resolution is ...user_defined |
plotQuality | The quality level for the plot |
plotFileName | Full path name for the plot file to create |
unsafe void NXOpen.ModelingViewHighQualityImage.Save | ( | string | imageFileName, |
bool | compressImage | ||
) |
Saves the currently displayed high quality image of a view to a file.
Currently the given view must be the work view. This function only works in interactive mode, not in batch mode.
Refer to function UF_DISP_batch_shade in batch mode.
Created in NX4.0.0
License requirements: None.
imageFileName | File name for the saved image. This may * include an extension, which may be .tif, * .jpg, .gif or .wrl. If no extension is * provided, or if the extension is invalid, * a .tif file will be created |
compressImage | Should the image file be compressed? |
unsafe void NXOpen.ModelingViewHighQualityImage.ShowImageInformation | ( | ) |
Shows information about the last image rendered.
The information is what is shown by the Information button on the High Quality Image dialog. It is displayed in the listing window.
If no image has been rendered in this session, the information shown is meaningless, and so this method should not be used unless an image has been rendered in the session.
Currently the input modeling_view is not used in this function, as the information is returned for the last image regardless of which view it was rendered for. This might change in the future.
Internal mode only.
Created in NX4.0.0
License requirements: None.
|
getset |
Returns or sets the display technique to use for the generation of the High Quality Image.
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the quality of the facets of the High Quality Image.
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the format to use for the generation of the High Quality Image.
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the method to use for the generation of the High Quality Image.
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the setting for whether the High Quality Image is to contain shadows
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
get |
Returns the tag of this object.
|
getset |
Returns or sets the setting for whether the High Quality Image is to use IBL
Created in NX4.0.0
License requirements to get this property: None.
License requirements to set this property: None.