-
Notifications
You must be signed in to change notification settings - Fork 21
Add command line parameter to load a transfer function from file #78
Conversation
Refer to this link for build results (access rights to CI server needed): |
@@ -163,6 +164,10 @@ bool Config::init() | |||
const ApplicationParameters& params = getApplicationParameters(); | |||
frameSettings->setFrameNumber( params.frames.x( )); | |||
|
|||
RenderSettingsPtr renderSettings = _impl->framedata.getRenderSettings(); | |||
const TransferFunction1Dc tf( _impl->framedata.getVRParameters()->transferFunction ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why copy?
Updated |
Refer to this link for build results (access rights to CI server needed): |
36f039c
to
f10800a
Compare
Rebased and added transfer function tests. Please review again. |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
public: | ||
static std::string header( const size_t numSamples ) | ||
{ | ||
return boost::lexical_cast< std::string >( numSamples ) + " uint8"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::to_string
+1 |
Refer to this link for build results (access rights to CI server needed): |
Retest this please |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
Retest this please |
Refer to this link for build results (access rights to CI server needed): |
Refer to this link for build results (access rights to CI server needed): |
retest this please |
Refer to this link for build results (access rights to CI server needed): |
New TransferFunction1D constructor that takes a file path as an argument
Refer to this link for build results (access rights to CI server needed): |
retest this please |
1 similar comment
retest this please |
Refer to this link for build results (access rights to CI server needed): |
Add command line parameter to load a transfer function from file
No description provided.