#include <Geometry.h>
Builder to create (immutable) Geometry instances. 
 
◆ GeometryBuilder() [1/2]
      
        
          | prtx::GeometryBuilder::GeometryBuilder  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ GeometryBuilder() [2/2]
      
        
          | prtx::GeometryBuilder::GeometryBuilder  | 
          ( | 
          const Geometry &  | 
          geometry | ) | 
           | 
        
      
 
Constructs a GeometryBuilder initialized to the passed geometry. 
- Parameters
 - 
  
    | geometry | Geometry to initialize builder with.  | 
  
   
 
 
◆ addMesh()
      
        
          | uint32_t prtx::GeometryBuilder::addMesh  | 
          ( | 
          const MeshPtr &  | 
          mesh | ) | 
           | 
        
      
 
Adds a mesh to the builder. 
- Parameters
 - 
  
  
 
- Returns
 - index of newly inserted mesh in internal vector. 
 
 
 
◆ addMeshes()
      
        
          | void prtx::GeometryBuilder::addMeshes  | 
          ( | 
          const MeshPtrVector &  | 
          meshes | ) | 
           | 
        
      
 
Adds a vector of meshes to the builder. 
- Parameters
 - 
  
  
 
 
 
◆ createShared()
  
  
      
        
          | virtual GeometryPtr prtx::GeometryBuilder::createShared  | 
          ( | 
          std::wstring *  | 
          warnings = 0 | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Creates a geometry instance. Throws an exception if requirements are not met. 
- Parameters
 - 
  
    | [out] | warnings | Optional pointer to return warnings.  | 
  
   
- Returns
 - shared pointer to new Geometry instance. 
 
Implements prtx::SharedPtrBuilder< Geometry >.
 
 
◆ createSharedAndReset()
  
  
      
        
          | virtual GeometryPtr prtx::GeometryBuilder::createSharedAndReset  | 
          ( | 
          std::wstring *  | 
          warnings = 0 | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Creates a geometry instance and resets the builder's state. Throws an exception if requirements are not met. 
- Parameters
 - 
  
    | [out] | warnings | Optional pointer to return warnings.  | 
  
   
- Returns
 - shared pointer to new Geometry instance. 
 
Implements prtx::SharedPtrBuilder< Geometry >.
 
 
◆ setBlindData()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setBlindData  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          void *  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Sets a blind data value. 
- Parameters
 - 
  
    | key | The key of the value.  | 
    | val | The blind data value to set.  | 
  
   
Implements prtx::AttributableSetter.
 
 
◆ setBool()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setBool  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          Bool  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setBoolArray()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setBoolArray  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          const BoolVector &  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Sets a boolean array. 
- Parameters
 - 
  
    | key | The key of the array.  | 
    | val | Vector with the values to set.  | 
  
   
Implements prtx::AttributableSetter.
 
 
◆ setFloat()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setFloat  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          double  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setFloatArray()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setFloatArray  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          const DoubleVector &  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Sets a float array. 
- Parameters
 - 
  
    | key | The key of the array.  | 
    | val | Vector with the values to set.  | 
  
   
Implements prtx::AttributableSetter.
 
 
◆ setInt()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setInt  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          int32_t  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setIntArray()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setIntArray  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          const Int32Vector &  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Sets an integer array. 
- Parameters
 - 
  
    | key | The key of the array.  | 
    | val | Vector with the values to set.  | 
  
   
Implements prtx::AttributableSetter.
 
 
◆ setString()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setString  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          const std::wstring &  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setStringArray()
  
  
      
        
          | virtual void prtx::GeometryBuilder::setStringArray  | 
          ( | 
          const std::wstring &  | 
          key,  | 
         
        
           | 
           | 
          const WStringVector &  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Sets a string array. 
- Parameters
 - 
  
    | key | The key of the array.  | 
    | val | Vector with the values to set.  | 
  
   
Implements prtx::AttributableSetter.
 
 
◆ setURI()
      
        
          | void prtx::GeometryBuilder::setURI  | 
          ( | 
          const URIPtr &  | 
          uri | ) | 
           | 
        
      
 
 
The documentation for this class was generated from the following file: