TINC
Toolkit for Interactive Computation
tinc::SceneObject Class Reference

The SceneObject class. More...

#include <SceneObject.hpp>

Inheritance diagram for tinc::SceneObject:
tinc::AtomRenderer tinc::TrajectoryRender tinc::SlicingAtomRenderer

Public Member Functions

 SceneObject (std::string id="", std::string filename="", std::string relPath="", std::string rootPath="", uint16_t size=2)
 
void registerWithTinc (TincProtocol &server)
 
void applyTransformations (al::Graphics &g) override
 
std::shared_ptr< NetCDFDatagetData ()
 

Public Attributes

al::ParameterVec3 scale
 

Protected Attributes

DiskBufferNetCDFData mBuffer
 

Detailed Description

The SceneObject class.

When you make a SceneObject subclass, you must implement the use of the scale parameter in onProcess(GRaphics &)

Definition at line 19 of file SceneObject.hpp.

Constructor & Destructor Documentation

◆ SceneObject()

tinc::SceneObject::SceneObject ( std::string  id = "",
std::string  filename = "",
std::string  relPath = "",
std::string  rootPath = "",
uint16_t  size = 2 
)

Member Function Documentation

◆ applyTransformations()

void tinc::SceneObject::applyTransformations ( al::Graphics &  g)
inlineoverride

Definition at line 27 of file SceneObject.hpp.

◆ getData()

std::shared_ptr<NetCDFData> tinc::SceneObject::getData ( )

◆ registerWithTinc()

void tinc::SceneObject::registerWithTinc ( TincProtocol server)

Member Data Documentation

◆ mBuffer

DiskBufferNetCDFData tinc::SceneObject::mBuffer
protected

Definition at line 37 of file SceneObject.hpp.

◆ scale

al::ParameterVec3 tinc::SceneObject::scale

Definition at line 32 of file SceneObject.hpp.


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