OpenStudio:radiance
 All Classes Namespaces Functions Variables Typedefs Pages
Public Member Functions | Static Public Member Functions | List of all members
openstudio::radiance::ForwardTranslator Class Reference

#include <ForwardTranslator.hpp>

Public Member Functions

std::vector< LogMessage > errors () const
 Get error messages generated by the last translation. More...
 
 ForwardTranslator ()
 
std::vector< openstudio::path > translateModel (const openstudio::path &outPath, const openstudio::model::Model &model)
 Translates a Model to radiance format in directory outPath. More...
 
std::vector< LogMessage > warnings () const
 Get warning messages generated by the last translation. More...
 

Static Public Member Functions

static openstudio::Point3dVector getPolygon (const openstudio::model::SubSurface &subSurface)
 convert subsurface vertices to absolute coodinates More...
 
static openstudio::Point3dVector getPolygon (const openstudio::model::ShadingSurface &shadingSurface)
 convert shading surface vertices to absolute coodinates More...
 
static openstudio::Point3dVector getPolygon (const openstudio::model::InteriorPartitionSurface &interiorPartitionSurface)
 convert interior partition surface vertices to absolute coodinates More...
 
static openstudio::Point3dVector getPolygon (const openstudio::model::Luminaire &luminaire)
 convert luminaire to absolute coodinates More...
 
static
openstudio::Point3dVectorVector 
getPolygons (const openstudio::model::Surface &surface)
 subtract subsurfaces from surface polygon and return resulting polygons as vector of Point3dVector, these vertices will be in absolute coodinates More...
 
static openstudio::Point3d getReferencePoint (const openstudio::model::DaylightingControl &control)
 get daylighting control reference point More...
 
static openstudio::Point3d getReferencePoint (const openstudio::model::GlareSensor &sensor)
 get glare sensor reference point More...
 
static openstudio::Point3dVector getReferencePoints (const openstudio::model::IlluminanceMap &IlluminanceMap)
 get output illuminance map reference points More...
 
static openstudio::Vector3d getSensorVector (const openstudio::model::DaylightingControl &control)
 get sensor vector More...
 
static openstudio::Vector3d getSensorVector (const openstudio::model::GlareSensor &sensor)
 get sensor vector More...
 
static openstudio::Vector3d getSensorVector (const openstudio::model::IlluminanceMap &IlluminanceMap)
 get sensor vector, this is the same for all points More...
 
static openstudio::Vector3dVector getViewVectors (const openstudio::model::DaylightingControl &control)
 get view vectors, number is determined by the Number of Daylighting Views parameter More...
 
static openstudio::Vector3dVector getViewVectors (const openstudio::model::GlareSensor &sensor)
 get glare sensor view vectors, number is determined by the Number of Glare View Vectors parameter More...
 

Constructor & Destructor Documentation

openstudio::radiance::ForwardTranslator::ForwardTranslator ( )

Member Function Documentation

std::vector<LogMessage> openstudio::radiance::ForwardTranslator::errors ( ) const

Get error messages generated by the last translation.

static openstudio::Point3dVector openstudio::radiance::ForwardTranslator::getPolygon ( const openstudio::model::SubSurface &  subSurface)
static

convert subsurface vertices to absolute coodinates

static openstudio::Point3dVector openstudio::radiance::ForwardTranslator::getPolygon ( const openstudio::model::ShadingSurface &  shadingSurface)
static

convert shading surface vertices to absolute coodinates

static openstudio::Point3dVector openstudio::radiance::ForwardTranslator::getPolygon ( const openstudio::model::InteriorPartitionSurface &  interiorPartitionSurface)
static

convert interior partition surface vertices to absolute coodinates

static openstudio::Point3dVector openstudio::radiance::ForwardTranslator::getPolygon ( const openstudio::model::Luminaire &  luminaire)
static

convert luminaire to absolute coodinates

static openstudio::Point3dVectorVector openstudio::radiance::ForwardTranslator::getPolygons ( const openstudio::model::Surface &  surface)
static

subtract subsurfaces from surface polygon and return resulting polygons as vector of Point3dVector, these vertices will be in absolute coodinates

static openstudio::Point3d openstudio::radiance::ForwardTranslator::getReferencePoint ( const openstudio::model::DaylightingControl &  control)
static

get daylighting control reference point

static openstudio::Point3d openstudio::radiance::ForwardTranslator::getReferencePoint ( const openstudio::model::GlareSensor &  sensor)
static

get glare sensor reference point

static openstudio::Point3dVector openstudio::radiance::ForwardTranslator::getReferencePoints ( const openstudio::model::IlluminanceMap &  IlluminanceMap)
static

get output illuminance map reference points

static openstudio::Vector3d openstudio::radiance::ForwardTranslator::getSensorVector ( const openstudio::model::DaylightingControl &  control)
static

get sensor vector

static openstudio::Vector3d openstudio::radiance::ForwardTranslator::getSensorVector ( const openstudio::model::GlareSensor &  sensor)
static

get sensor vector

static openstudio::Vector3d openstudio::radiance::ForwardTranslator::getSensorVector ( const openstudio::model::IlluminanceMap &  IlluminanceMap)
static

get sensor vector, this is the same for all points

static openstudio::Vector3dVector openstudio::radiance::ForwardTranslator::getViewVectors ( const openstudio::model::DaylightingControl &  control)
static

get view vectors, number is determined by the Number of Daylighting Views parameter

static openstudio::Vector3dVector openstudio::radiance::ForwardTranslator::getViewVectors ( const openstudio::model::GlareSensor &  sensor)
static

get glare sensor view vectors, number is determined by the Number of Glare View Vectors parameter

std::vector<openstudio::path> openstudio::radiance::ForwardTranslator::translateModel ( const openstudio::path &  outPath,
const openstudio::model::Model &  model 
)

Translates a Model to radiance format in directory outPath.

std::vector<LogMessage> openstudio::radiance::ForwardTranslator::warnings ( ) const

Get warning messages generated by the last translation.