TTK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ttk::CinemaImagingNative Class Reference

Native renderer that uses a bounding volume hierarchy for accelerated raycasting. More...

#include <CinemaImagingNative.h>

Inheritance diagram for ttk::CinemaImagingNative:
ttk::CinemaImaging ttk::Debug ttk::BaseClass ttk::ttkCinemaImagingNative

Public Member Functions

 CinemaImagingNative ()
 
 ~CinemaImagingNative () override=default
 
template<typename IT >
int renderImage (float *depthBuffer, unsigned int *primitiveIds, float *barycentricCoordinates, const size_t &nVertices, const float *vertexCoords, const size_t &nTriangles, const IT *connectivityList, const BoundingVolumeHierarchy< IT > &bvh, const double resolution[2], const double camPos[3], const double camDirRaw[3], const double camUp[3], const double &camHeight, const bool &orthographicProjection, const double &viewAngle) const
 
template<typename IT >
int renderImage (float *depthBuffer, unsigned int *primitiveIds, float *barycentricCoordinates, const size_t &ttkNotUsed(nVertices), const float *vertexCoords, const size_t &ttkNotUsed(nTriangles), const IT *connectivityList, const BoundingVolumeHierarchy< IT > &bvh, const double resolution[2], const double camPos[3], const double camDirRaw[3], const double camUp[3], const double &camHeight, const bool &orthographicProjection, const double &viewAngle) const
 
- Public Member Functions inherited from ttk::CinemaImaging
template<typename DT , typename IT >
int interpolateArray (DT *outputArray, const unsigned int *primitiveIds, const float *barycentricCoordinates, const IT *connectivityList, const DT *inputArray, const size_t &nTuples, const size_t &nComponents=1, const DT &missingValue=std::numeric_limits< DT >::has_quiet_NaN ? std::numeric_limits< DT >::quiet_NaN() :std::numeric_limits< DT >::max()) const
 
template<typename DT >
int lookupArray (DT *outputArray, const unsigned int *primitiveIds, const DT *inputArray, const size_t &nTuples, const size_t &nComponents=1, const DT &missingValue=std::numeric_limits< DT >::has_quiet_NaN ? std::numeric_limits< DT >::quiet_NaN() :std::numeric_limits< DT >::max()) const
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Additional Inherited Members

- Static Public Attributes inherited from ttk::CinemaImaging
static const unsigned int INVALID_ID
 
- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

Native renderer that uses a bounding volume hierarchy for accelerated raycasting.

Author
Jonas Lukasczyk jl@jl.nosp@m.uk.d.nosp@m.e
Rosty Hnatyshyn rosty.nosp@m.slav.nosp@m..hnat.nosp@m.yshy.nosp@m.n@gma.nosp@m.il.c.nosp@m.om
Date
10.11.2020

Definition at line 17 of file CinemaImagingNative.h.

Constructor & Destructor Documentation

◆ CinemaImagingNative()

ttk::CinemaImagingNative::CinemaImagingNative ( )
inline

Definition at line 19 of file CinemaImagingNative.h.

◆ ~CinemaImagingNative()

ttk::CinemaImagingNative::~CinemaImagingNative ( )
overridedefault

Member Function Documentation

◆ renderImage() [1/2]

template<typename IT >
int ttk::CinemaImagingNative::renderImage ( float *  depthBuffer,
unsigned int *  primitiveIds,
float *  barycentricCoordinates,
const size_t &  nVertices,
const float *  vertexCoords,
const size_t &  nTriangles,
const IT *  connectivityList,
const BoundingVolumeHierarchy< IT > &  bvh,
const double  resolution[2],
const double  camPos[3],
const double  camDirRaw[3],
const double  camUp[3],
const double &  camHeight,
const bool &  orthographicProjection,
const double &  viewAngle 
) const

◆ renderImage() [2/2]

template<typename IT >
int ttk::CinemaImagingNative::renderImage ( float *  depthBuffer,
unsigned int *  primitiveIds,
float *  barycentricCoordinates,
const size_t &  ttkNotUsednVertices,
const float *  vertexCoords,
const size_t &  ttkNotUsednTriangles,
const IT *  connectivityList,
const BoundingVolumeHierarchy< IT > &  bvh,
const double  resolution[2],
const double  camPos[3],
const double  camDirRaw[3],
const double  camUp[3],
const double &  camHeight,
const bool &  orthographicProjection,
const double &  viewAngle 
) const

Definition at line 48 of file CinemaImagingNative.h.


The documentation for this class was generated from the following file: