#include <SBGATObs.hpp>
 | 
|   | SBGATObs () | 
|   | 
|   | ~SBGATObs () override | 
|   | 
| int  | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override | 
|   | 
| int  | FillInputPortInformation (int port, vtkInformation *info) VTK_OVERRIDE | 
|   | 
| void  | prefind_facets_inview (std::vector< int > &facets_in_view, const unsigned int &body_index, const std::vector< arma::vec > &dir_to_check_vec, const std::vector< arma::mat > &BN_dcms_vec, const std::vector< arma::vec > &positions_vec) | 
|   | 
| void  | find_min_facet_surface_area () | 
|   | 
| bool  | check_line_for_intersect (const int &origin_body_index, const arma::vec &start_point_origin_body, const arma::vec &end_point_inertial, const std::vector< arma::mat > &BN_dcms_vec, const std::vector< arma::vec > &positions_vec, const double &tol) const | 
|   | 
Definition at line 30 of file SBGATObs.hpp.
 
◆ SBGATObs() [1/2]
◆ ~SBGATObs()
◆ SBGATObs() [2/2]
◆ check_line_for_intersect()
  
  
      
        
          | bool SBGATObs::check_line_for_intersect  | 
          ( | 
          const int &  | 
          origin_body_index,  | 
         
        
           | 
           | 
          const arma::vec &  | 
          start_point_origin_body,  | 
         
        
           | 
           | 
          const arma::vec &  | 
          end_point_inertial,  | 
         
        
           | 
           | 
          const std::vector< arma::mat > &  | 
          BN_dcms_vec,  | 
         
        
           | 
           | 
          const std::vector< arma::vec > &  | 
          positions_vec,  | 
         
        
           | 
           | 
          const double &  | 
          tol  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
protected   | 
  
 
Checks if the line spanned between provided points intersects with any of the considered bodies. 
- Parameters
 - 
  
    | origin_body_index | index of the body from which originates the line to be tested for intersect  | 
    | start_point_origin_body | coordinates of the origin of the line, expressed in the original body frame  | 
    | end_point_inertial | coordinates of the end of the line, expressed in the inertial frame  | 
    | BN_dcms_vec | vector holding the DCMs orienting the body frame of each body w/r to inertial  | 
    | positions_vec | vector holding the position vector of the CM of each body w/r to the primary  | 
  
   
- Returns
 - true if the line intersects with any of the considered bodies, false otherwise 
 
Definition at line 205 of file SBGATObs.cpp.
 
 
◆ FillInputPortInformation()
  
  
      
        
          | int SBGATObs::FillInputPortInformation  | 
          ( | 
          int  | 
          port,  | 
         
        
           | 
           | 
          vtkInformation *  | 
          info  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ find_min_facet_surface_area()
  
  
      
        
          | void SBGATObs::find_min_facet_surface_area  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Computes the largest facet surface area of all of the considered shapes 
- Returns
 - surface area of largest facet in all of the considered shapes 
 
Definition at line 78 of file SBGATObs.cpp.
 
 
◆ get_number_of_bodies()
  
  
      
        
          | int SBGATObs::get_number_of_bodies  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Return the number of considered bodies 
- Returns
 - number of considered bodies 
 
Definition at line 57 of file SBGATObs.hpp.
 
 
◆ New()
◆ operator=()
  
  
      
        
          | void SBGATObs::operator=  | 
          ( | 
          const SBGATObs &  | 
           | ) | 
           | 
         
       
   | 
  
privatedelete   | 
  
 
 
◆ prefind_facets_inview()
  
  
      
        
          | void SBGATObs::prefind_facets_inview  | 
          ( | 
          std::vector< int > &  | 
          facets_in_view,  | 
         
        
           | 
           | 
          const unsigned int &  | 
          body_index,  | 
         
        
           | 
           | 
          const std::vector< arma::vec > &  | 
          dir_to_check_vec,  | 
         
        
           | 
           | 
          const std::vector< arma::mat > &  | 
          BN_dcms_vec,  | 
         
        
           | 
           | 
          const std::vector< arma::vec > &  | 
          positions_vec  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ PrintHeader()
  
  
      
        
          | void SBGATObs::PrintHeader  | 
          ( | 
          std::ostream &  | 
          os,  | 
         
        
           | 
           | 
          vtkIndent  | 
          indent  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ PrintSelf()
  
  
      
        
          | void SBGATObs::PrintSelf  | 
          ( | 
          std::ostream &  | 
          os,  | 
         
        
           | 
           | 
          vtkIndent  | 
          indent  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ PrintTrailer()
  
  
      
        
          | void SBGATObs::PrintTrailer  | 
          ( | 
          std::ostream &  | 
          os,  | 
         
        
           | 
           | 
          vtkIndent  | 
          indent  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ RequestData()
  
  
      
        
          | int SBGATObs::RequestData  | 
          ( | 
          vtkInformation *  | 
          request,  | 
         
        
           | 
           | 
          vtkInformationVector **  | 
          inputVector,  | 
         
        
           | 
           | 
          vtkInformationVector *  | 
          outputVector  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overrideprotected   | 
  
 
 
◆ SetScaleKiloMeters()
  
  
      
        
          | void SBGATObs::SetScaleKiloMeters  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Sets the scale factor to 1000, indicative that the polydata has its coordinates expressed in kilometers 
Definition at line 51 of file SBGATObs.hpp.
 
 
◆ SetScaleMeters()
  
  
      
        
          | void SBGATObs::SetScaleMeters  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Sets the scale factor to 1, indicative that the polydata has its coordinates expressed in meters (default) 
Definition at line 46 of file SBGATObs.hpp.
 
 
◆ vtkTypeMacro()
      
        
          | SBGATObs::vtkTypeMacro  | 
          ( | 
          SBGATObs  | 
          ,  | 
        
        
           | 
           | 
          vtkPolyDataAlgorithm  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ bspTree_vec
  
  
      
        
          | std::vector<vtkSmartPointer<vtkModifiedBSPTree> > SBGATObs::bspTree_vec | 
         
       
   | 
  
protected   | 
  
 
 
◆ center_of_mass_vec
  
  
      
        
          | std::vector<arma::vec> SBGATObs::center_of_mass_vec | 
         
       
   | 
  
protected   | 
  
 
 
◆ min_area
  
  
      
        
          | double SBGATObs::min_area | 
         
       
   | 
  
protected   | 
  
 
 
◆ number_of_bodies
  
  
      
        
          | int SBGATObs::number_of_bodies | 
         
       
   | 
  
protected   | 
  
 
 
◆ polydata_vec
  
  
      
        
          | std::vector<vtkPolyData *> SBGATObs::polydata_vec | 
         
       
   | 
  
protected   | 
  
 
 
◆ scaleFactor
  
  
      
        
          | double SBGATObs::scaleFactor = 1 | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files:
- /Users/bbercovici/GDrive/CUBoulder/Research/code/SBGAT/SbgatCore/include/SbgatCore/SBGATObs.hpp
 
- /Users/bbercovici/GDrive/CUBoulder/Research/code/SBGAT/SbgatCore/source/SBGATObs.cpp