#include <HAnalysisView.h>
Public Member Functions | |
HAnalysisView (HBaseModel *model, const char *alias=0, const char *driver_type=0, const char *instance_name=0, void *window_handle=0, void *colormap=0, void *clip_override=0) | |
~HAnalysisView () | |
void | Init () |
Initializes the HOOPS/MVO view. More... | |
void | MapData (HC_KEY const key) |
bool | MapSelectionSet () |
void | QuadInterpolateData (HC_KEY const key) |
bool | QuadInterpolateSelectionSet () |
bool | AnimateSelectionSet () |
void | SetVisibilityEdges (bool on_off) |
Custom HBaseView object which provides a few tutorial-specific methods
HAnalysisView::HAnalysisView | ( | HBaseModel * | model, |
const char * | alias = 0 , |
||
const char * | driver_type = 0 , |
||
const char * | instance_name = 0 , |
||
void * | window_handle = 0 , |
||
void * | colormap = 0 , |
||
void * | clip_override = 0 |
||
) |
HAnalysisView::~HAnalysisView | ( | ) |
bool HAnalysisView::AnimateSelectionSet | ( | ) |
The method animates the vertex color information on a shell. It first obtains the shell whose key is stored in HAnalysisModel::m_pShellVertexData (this data structure was initialized in the call to HAnalysisView::MapData) It then loops through (3 * HAnalysisModel::m_DataCycles) times, and modifies the shell's vertex colors by cycling through the array denoted by HShellVertexData::m_pFIndexArray pointer.
void HAnalysisView::Init | ( | ) |
Initializes the HOOPS/MVO view.
void HAnalysisView::MapData | ( | HC_KEY const | key | ) |
Creates an artificial set of color index values and applies it to the first shell in the selection list
bool HAnalysisView::MapSelectionSet | ( | ) |
Creates an artificial set of color index values and applies it to the shells in the selection list
void HAnalysisView::QuadInterpolateData | ( | HC_KEY const | key | ) |
replaces the shell with a 'quad' interpolated shell. It achives this by calling HUtilityGeometryCreation::GenerateFEAShell
bool HAnalysisView::QuadInterpolateSelectionSet | ( | ) |
Obtains the shells in the seleciton list, and replaces it with a 'quad' interpolated shell.
void HAnalysisView::SetVisibilityEdges | ( | bool | on_off | ) |
Toggles edge visibility