API Reference > Classes > PRC Representation Classes > OdPrcRepresentationItem Class
OdPrcRepresentationItem Class
OdPrcRepresentationItemOdPrcRepresentationItemOdPrcRepresentationItemOdPrcRepresentationItemOdPrcRepresentationItem
Syntax
C++
class OdPrcRepresentationItem : public OdPrcRepresentationItemContent;

PrcRepresentationItem.h

 

An abstract class of representation items. This class is the base for various representation item classes.

 
Name 
Description 
 
Destroys an instance of a PRC entity. 
 
Name 
Description 
 
This is the overview for the attributeData method overload. 
 
Returns the OdGsCache object currently assigned to the PRC entity. 
 
id 
Returns the PRC entity ID. 
 
Returns whether the PRC entity is persistent (true) or not (false). 
 
name 
This is the overview for the name method overload. 
 
Returns the type of the PRC entity. 
 
Assigns the specified OdGsCache to the PRC entity.
 
OdPrcReferencedBase Class
 
Name 
Description 
 
Returns the current CAD identifier for the PRC object. 
 
Returns the current persistent CAD identifier for the PRC object. 
 
Returns an explicit unique name for "this" entity that can be referenced through PDF or JavaScript. In the case of error, it returns an empty string.
 
 
id 
Returns the current object identifier for the object. 
 
Returns true if the object is persistent or false in the other case. 
 
Returns the PRC object identifier. 
 
Sets a new CAD identifier value for the PRC object.  
 
Sets a new persistent CAD identifier value for the PRC object.  
 
Sets a new PRC object identifier.  
OdPrcBaseWithGraphics Class
 
Name 
Description 
 
Returns current behavior bit field. The behavior bit field controls visibility and removal of the entity. 
 
Returns the identifier of the current material. 
 
Returns the current value of the true color.
 
 
This is the overview for the graphics method overload. 
 
Returns the current layer index. 
 
Sets a new value of the behavior bit field. The behavior bit field controls visibility and removal of the entity.
 
 
Sets a new layer index.
 
 
This is the overview for the styleId method overload. 
OdPrcRepresentationItemContent Class
 
Name 
Description 
 
This is the overview for the localCoordinateSystemID method overload. 
 
This is the overview for the tessellation method overload. 
OdPrcRepresentationItem Class
 
Name 
Description 
 
Returns the identifier of the current representation item's body. 
 
read 
Reads representation item data from a specified input stream, creates a representation item, and returns its identifier.
 
 
Reads data of representation items from a specified input stream, creates representation items, and creates an array of its identifiers.
 
 
Sets a reference to a new representation item's body.
 
 
This is the overview for the userData method overload. 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.