OpenStudio:radiance
Loading...
Searching...
No Matches
openstudio::radiance::ForwardTranslator Class Reference

#include <ForwardTranslator.hpp>

Public Member Functions

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

Static Public Member Functions

static openstudio::Point3dVector getPolygon (const openstudio::model::InteriorPartitionSurface &interiorPartitionSurface)
 convert interior partition surface vertices to absolute coodinates
 
static openstudio::Point3dVector getPolygon (const openstudio::model::Luminaire &luminaire)
 convert luminaire to absolute coodinates
 
static openstudio::Point3dVector getPolygon (const openstudio::model::ShadingSurface &shadingSurface)
 convert shading surface vertices to absolute coodinates
 
static openstudio::Point3dVector getPolygon (const openstudio::model::SubSurface &subSurface)
 convert subsurface vertices to absolute coodinates
 
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
 
static openstudio::Point3d getReferencePoint (const openstudio::model::DaylightingControl &control)
 get daylighting control reference point
 
static openstudio::Point3d getReferencePoint (const openstudio::model::GlareSensor &sensor)
 get glare sensor reference point
 
static openstudio::Point3dVector getReferencePoints (const openstudio::model::IlluminanceMap &IlluminanceMap)
 get output illuminance map reference points
 
static openstudio::Vector3d getSensorVector (const openstudio::model::DaylightingControl &control)
 get sensor vector
 
static openstudio::Vector3d getSensorVector (const openstudio::model::GlareSensor &sensor)
 get sensor vector
 
static openstudio::Vector3d getSensorVector (const openstudio::model::IlluminanceMap &IlluminanceMap)
 get sensor vector, this is the same for all points
 
static openstudio::Vector3dVector getViewVectors (const openstudio::model::DaylightingControl &control)
 get view vectors, number is determined by the Number of Daylighting Views parameter
 
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
 

Constructor & Destructor Documentation

◆ ForwardTranslator()

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

Member Function Documentation

◆ errors()

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

Get error messages generated by the last translation.

◆ getPolygon() [1/4]

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

convert interior partition surface vertices to absolute coodinates

◆ getPolygon() [2/4]

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

convert luminaire to absolute coodinates

◆ getPolygon() [3/4]

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

convert shading surface vertices to absolute coodinates

◆ getPolygon() [4/4]

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

convert subsurface vertices to absolute coodinates

◆ getPolygons()

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

◆ getReferencePoint() [1/2]

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

get daylighting control reference point

◆ getReferencePoint() [2/2]

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

get glare sensor reference point

◆ getReferencePoints()

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

get output illuminance map reference points

◆ getSensorVector() [1/3]

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

get sensor vector

◆ getSensorVector() [2/3]

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

get sensor vector

◆ getSensorVector() [3/3]

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

get sensor vector, this is the same for all points

◆ getViewVectors() [1/2]

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

◆ getViewVectors() [2/2]

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

◆ translateModel()

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.

◆ warnings()

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

Get warning messages generated by the last translation.