#include <CTiglShapeCache.h>
◆ ShapeContainer
◆ CTiglShapeCache()
◆ Clear()
◆ GetContainer()
Returns the underlying map for direct access. 
 
 
◆ GetNShape()
      
        
          | TIGL_EXPORT unsigned int tigl::CTiglShapeCache::GetNShape  | 
          ( | 
           | ) | 
           const | 
        
      
 
Returns total number of shapes in map. 
 
 
◆ GetShape()
      
        
          | TIGL_EXPORT TopoDS_Shape& tigl::CTiglShapeCache::GetShape  | 
          ( | 
          const std::string &  | 
          id | ) | 
           | 
        
      
 
Returns the shape with the given id. If the shape is not found, a nullshape/empty shape is returned. 
 
 
◆ HasShape()
      
        
          | TIGL_EXPORT bool tigl::CTiglShapeCache::HasShape  | 
          ( | 
          const std::string &  | 
          id | ) | 
           | 
        
      
 
Returns true, if the shape with id is in the cache. 
 
 
◆ Insert()
      
        
          | TIGL_EXPORT void tigl::CTiglShapeCache::Insert  | 
          ( | 
          const TopoDS_Shape &  | 
          shape,  | 
        
        
           | 
           | 
          const std::string &  | 
          id  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Inserts a shape with the given id into the cache. 
 
 
◆ Remove()
      
        
          | TIGL_EXPORT void tigl::CTiglShapeCache::Remove  | 
          ( | 
          const std::string &  | 
          id | ) | 
           | 
        
      
 
Removes alles shapes with the given id from the cache. 
 
 
◆ Reset()
  
  
      
        
          | void tigl::CTiglShapeCache::Reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ nullShape
  
  
      
        
          | TopoDS_Shape tigl::CTiglShapeCache::nullShape | 
         
       
   | 
  
private   | 
  
 
 
◆ shapeContainer
The documentation for this class was generated from the following file: