Graphics attributes object specifying how points are sampled in elements.  
 More...
#include <graphics.hpp>
 | 
| 
cmzn_graphicssamplingattributes_id  | id | 
|   | 
Graphics attributes object specifying how points are sampled in elements. 
Graphics attributes object specifying how points are sampled in elements, including sampling mode, density, etc. 
- See also
 - Graphics::getGraphicssamplingattributes 
 
 
  
  
      
        
          | Field OpenCMISS::Zinc::Graphicssamplingattributes::getDensityField  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Gets the scalar field specifying the density of points sampled from elements when used with CELL_POISSON sampling mode.
- Returns
 - Handle to density field, or NULL/invalid handle if none or failed. 
 
 
 
Get the mode for sampling points in elements.
- Returns
 - The point sampling mode, or MODE_INVALID on error. 
 
 
 
  
  
      
        
          | int OpenCMISS::Zinc::Graphicssamplingattributes::getLocation  | 
          ( | 
          int  | 
          valuesCount,  | 
         
        
           | 
           | 
          double *  | 
          valuesOut  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Gets the location in the element chart where a point is sampled in mode CMZN_ELEMENT_POINT_SAMPLING_MODE_SET_LOCATION. Up to 3 values can be returned.
- Parameters
 - 
  
    | valuesCount | The size of the valuesOut array.  | 
    | valuesOut | Array to receive location.  | 
  
   
- Returns
 - OpenCMISS::Zinc::OK on success, otherwise OpenCMISS::Zinc::ERROR_ARGUMENT. 
 
 
 
  
  
      
        
          | bool OpenCMISS::Zinc::Graphicssamplingattributes::isValid  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int OpenCMISS::Zinc::Graphicssamplingattributes::setDensityField  | 
          ( | 
          const Field &  | 
          densityField | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int OpenCMISS::Zinc::Graphicssamplingattributes::setLocation  | 
          ( | 
          int  | 
          valuesCount,  | 
         
        
           | 
           | 
          const double *  | 
          valuesIn  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file: