#include <TransferFunction.h>
Öffentliche Methoden | |
TransferFunction (void) | |
~TransferFunction (void) | |
bool | load (System::String^file) |
bool | save (System::String^file) |
void | OnDrawColor (System::Drawing::Graphics^graphics, int width, int height) |
void | GetInterpolatedTextureArray (BYTE tex[]) |
void | AddOrUpdatePoint (int index, CoreColor &color) |
void | RemovePoint (int index) |
void | MovePoint (int index, int newPos) |
int | IsColorPointNearby (int xpos, int range) |
CoreColor | GetColorPoint (int index) |
Statische öffentliche Attribute | |
static const int | maxDensity = 100 |
static const int | minDensity = 0 |
static const int | size = 101 |
TransferFunction::TransferFunction | ( | void | ) |
TransferFunction::~TransferFunction | ( | void | ) |
void TransferFunction::AddOrUpdatePoint | ( | int | index, | |
CoreColor & | color | |||
) |
CoreColor TransferFunction::GetColorPoint | ( | int | index | ) |
void TransferFunction::GetInterpolatedTextureArray | ( | BYTE | tex[] | ) |
int TransferFunction::IsColorPointNearby | ( | int | xpos, | |
int | range | |||
) |
bool TransferFunction::load | ( | System::String^ | file | ) |
void TransferFunction::MovePoint | ( | int | index, | |
int | newPos | |||
) |
void TransferFunction::OnDrawColor | ( | System::Drawing::Graphics^ | graphics, | |
int | width, | |||
int | height | |||
) |
void TransferFunction::RemovePoint | ( | int | index | ) |
bool TransferFunction::save | ( | System::String^ | file | ) |
const int TransferFunction::maxDensity = 100 [static] |
const int TransferFunction::minDensity = 0 [static] |
const int TransferFunction::size = 101 [static] |