PostViewData

Inherited from XViewData,

Inherited by NULL

Friend class NULL

Description

Members

Public interface

Protected interface


XRenderData m_SectionView

XRenderData m_SectionFrameView

ArrayGLObject m_VectorArray

const float * m_pData

int m_iCurStep

int m_iCurSubstep

int m_iRltType

int m_iRltLoc

int m_iRltComponent

int m_iCurShellPos

int m_iCurBeamPos

int m_iCurCoordSys

PitchAttribute m_PitchAttribute

int m_iPitchIndex

FArray m_PitchData[6]

XResult * m_pDeformRlt

float m_fAutoDeformScale

bool m_bEnforceScale

bool m_bShowOriginal

bool bSectionDetail

bool m_bSectionDeform

bool bSectionPrepared

bool m_bContour

bool m_bMarkExtreme

XArray<ResultAnimationFrame> m_pRltAniFrames

vector<XArray<float>*> m_pGeomValueSet

DataRange m_iDataRange

AxisymmetricSetting m_ViewAxisymmetric

XRenderData m_PickedElems

XRenderData m_FragmentRD


PostViewData(XDocument * pDoc)

~PostViewData()

void reset()

void buildData()

void updateData(ulong update_flag)

void clear()

void updateViewBox()

XDocument * getDocument()

void buildModelData()

void buildResultData(TypeID rt,int comp)

void releaseModelData()

void buildDeformData()

void buildContourData()

void updateSectionEdge()

void updateSectionData(bool bDetail = true)

int getVertexBufferSize(TypeID bufType, bool bSecond = false)

const XRenderData * getSectionViewData()

const XRenderData * getSectionFrameViewData()

const XRenderData * getFragmentViewData()

void getVectorData(float ** vertex,int **index, int * v_cnt, int * index_cnt)

void getSectionContourLineData(float**vertex,int**color,int * vertex_cnt)

void prepareSectionContext()

void allocSectionMem()

void releaseSectionMem()

void setComponent(int i)

void setLocation(int i)

void setCurrentStep(int step)

void setCurrentSubstep(int sub)

void setCurrentResultType(TypeID t)

void setCurrentCoordSys(int t)

int getCurrentStep() const

int getCurrentSubstep() const

TypeID getCurrentResultType() const

int getComponent() const

ResultLocType getLocation() const

int getCurrentCoordSys()

int getShellLayer()

int getBeamLayer()

void setShellLayer(int shellPos)

void setBeamLayer(int beamPos)

bool initFieldSetting()

float * getNodePosition(ulong id)

float * getNodeRltValue(ulong id)

virtual char * getDataString(TypeID t, ulong id)

ulong getExtremePosition(float * pos, bool bMax)

bool getExtremeMarkMode()

void setExtremeMarkMode(bool b)

virtual const char * getContourLabel()

void updateContourMaxMin()

float getAutoDeformScale()

void setVectorScaleEnforced(bool b)

bool isDeformScaleEnforced()

void updateDeformScale()

void updateVectorScale()

void onActiveResultChange()

void onResultComponentChange()

void onResultLocationChange()

void setDeformEnabled(bool b)

void setOriginalVisible(bool b)

bool isOriginalVisible()

void setViewAxisymmetric(const double * origin, const double * dir, double angle, int times)

AxisymmetricSetting * getViewAxisymmetric()

void setContourState(bool b)

bool getContourState()

void updateVectorData(float scale)

void updateSolidElemData()

void setDataRange(DataRange range)

DataRange getDataRange()

virtual bool prepareAnimationData(int mode)

void prepareAnimationResult(XResult * rlt)

void clearAnimationFrame()

void updateAnimationFrame(VertexFrameFile * vff)

virtual void nextAnimationFrame()

virtual void prevAnimationFrame()

ResultAnimationFrame * getCurrentFrame()

int getAnimationFrameCount() const

bool updateCurveData(int iRltType, int iComponent)

int getColorValue(int width,int height,uint8 *color,ContourLineHash *clHash)

const XRenderData * getDataForPickedElems()

bool preparePitchData()

const PitchAttribute & getPitchAttribute()

void setPitchAttribute(int div, double theta)

int getPitchIndex() const

void setPitchIndex(int i)

int getPitchComponent() const

const FArray * getPitchData() const


void buildElemSectionView(int n,SegmentPoint * sp, XRenderData * el_tri,XSolid *b = NULL, int clipIdx = 0)

void buildElemView(ElemPtr el, XRenderData * el_tri, const XSolid * b = NULL)

void buildElemContourLine(int n,SegmentPoint * sp,ArrayGLObject * c_line,float div_coef)