API Reference > Classes > PRC Base Classes > OdPrcPreviewGenerator Class > OdPrcPreviewGenerator Methods
OdPrcPreviewGenerator Methods

The methods of the OdPrcPreviewGenerator class are listed here.

 
Name 
Description 
 
Generates a raster preview image for the current view.
 
 
Generates a raster preview image for the specified view type (camera position).
 
 
Generates raster preview image for each view that exists in the PRC file associated with the generator.
 
 
Retrieves the current background color that is used for preview images.
 
 
Retrieves current width and height values of the bitmap preview image.
 
 
Retrieves the camera's parameters for the preview images generator.
 
 
Retrieves the current default color that is used for preview images.
 
 
Retrieves the current PRC file associated with the preview images generator.  
 
Retrieves the current render mode value that is used for preview images.
 
 
init 
Initializes the preview images generator with the content of a specified PRC file.  
 
Sets the background color for preview images.
 
 
Sets the width and height of the bitmap preview image.
 
 
Sets parameters of a camera for the preview images generator.
 
 
Sets the default color for preview images.
 
 
Sets the preview images render mode.
 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.