====== PostViewData ====== **//Inherited from//** [[class::xviewdata|XViewData]], **//Inherited by//** NULL **//Friend class//** NULL **//Description//** **//Members//** * XRenderData [[postviewdata#m_sectionview|m_SectionView]] * XRenderData [[postviewdata#m_sectionframeview|m_SectionFrameView]] * ArrayGLObject [[postviewdata#m_vectorarray|m_VectorArray]] * const float * [[postviewdata#m_pdata|m_pData]] * int [[postviewdata#m_icurstep|m_iCurStep]] * int [[postviewdata#m_icursubstep|m_iCurSubstep]] * int [[postviewdata#m_irlttype|m_iRltType]] * int [[postviewdata#m_irltloc|m_iRltLoc]] * int [[postviewdata#m_irltcomponent|m_iRltComponent]] * int [[postviewdata#m_icurshellpos|m_iCurShellPos]] * int [[postviewdata#m_icurbeampos|m_iCurBeamPos]] * int [[postviewdata#m_icurcoordsys|m_iCurCoordSys]] * PitchAttribute [[postviewdata#m_pitchattribute|m_PitchAttribute]] * int [[postviewdata#m_ipitchindex|m_iPitchIndex]] * FArray [[postviewdata#m_pitchdata[6]|m_PitchData[6]]] * XResult * [[postviewdata#m_pdeformrlt|m_pDeformRlt]] * float [[postviewdata#m_fautodeformscale|m_fAutoDeformScale]] * bool [[postviewdata#m_benforcescale|m_bEnforceScale]] * bool [[postviewdata#m_bshoworiginal|m_bShowOriginal]] * bool [[postviewdata#bsectiondetail|bSectionDetail]] * bool [[postviewdata#m_bsectiondeform|m_bSectionDeform]] * bool [[postviewdata#bsectionprepared|bSectionPrepared]] * bool [[postviewdata#m_bcontour|m_bContour]] * bool [[postviewdata#m_bmarkextreme|m_bMarkExtreme]] * XArray [[postviewdata#m_prltaniframes|m_pRltAniFrames]] * vector*> [[postviewdata#m_pgeomvalueset|m_pGeomValueSet]] * DataRange [[postviewdata#m_idatarange|m_iDataRange]] * AxisymmetricSetting [[postviewdata#m_viewaxisymmetric|m_ViewAxisymmetric]] * XRenderData [[postviewdata#m_pickedelems|m_PickedElems]] * XRenderData [[postviewdata#m_fragmentrd|m_FragmentRD]] **//Public interface//** * [[postviewdata#postviewdata1|PostViewData]](XDocument * pDoc) * [[postviewdata#~postviewdata|~PostViewData]]() * void [[postviewdata#reset|reset]]() * void [[postviewdata#builddata|buildData]]() * void [[postviewdata#updatedata|updateData]](ulong update_flag) * void [[postviewdata#clear|clear]]() * void [[postviewdata#updateviewbox|updateViewBox]]() * XDocument * [[postviewdata#getdocument|getDocument]]() * void [[postviewdata#buildmodeldata|buildModelData]]() * void [[postviewdata#buildresultdata|buildResultData]](TypeID rt,int comp) * void [[postviewdata#releasemodeldata|releaseModelData]]() * void [[postviewdata#builddeformdata|buildDeformData]]() * void [[postviewdata#buildcontourdata|buildContourData]]() * void [[postviewdata#updatesectionedge|updateSectionEdge]]() * void [[postviewdata#updatesectiondata|updateSectionData]](bool bDetail = true) * int [[postviewdata#getvertexbuffersize|getVertexBufferSize]](TypeID bufType, bool bSecond = false) * const XRenderData * [[postviewdata#getsectionviewdata|getSectionViewData]]() * const XRenderData * [[postviewdata#getsectionframeviewdata|getSectionFrameViewData]]() * const XRenderData * [[postviewdata#getfragmentviewdata|getFragmentViewData]]() * void [[postviewdata#getvectordata|getVectorData]](float ** vertex,int **index, int * v_cnt, int * index_cnt) * void [[postviewdata#getsectioncontourlinedata|getSectionContourLineData]](float**vertex,int**color,int * vertex_cnt) * void [[postviewdata#preparesectioncontext|prepareSectionContext]]() * void [[postviewdata#allocsectionmem|allocSectionMem]]() * void [[postviewdata#releasesectionmem|releaseSectionMem]]() * void [[postviewdata#setcomponent|setComponent]](int i) * void [[postviewdata#setlocation|setLocation]](int i) * void [[postviewdata#setcurrentstep|setCurrentStep]](int step) * void [[postviewdata#setcurrentsubstep|setCurrentSubstep]](int sub) * void [[postviewdata#setcurrentresulttype|setCurrentResultType]](TypeID t) * void [[postviewdata#setcurrentcoordsys|setCurrentCoordSys]](int t) * int [[postviewdata#getcurrentstep|getCurrentStep]]() const * int [[postviewdata#getcurrentsubstep|getCurrentSubstep]]() const * TypeID [[postviewdata#getcurrentresulttype|getCurrentResultType]]() const * int [[postviewdata#getcomponent|getComponent]]() const * ResultLocType [[postviewdata#getlocation|getLocation]]() const * int [[postviewdata#getcurrentcoordsys|getCurrentCoordSys]]() * int [[postviewdata#getshelllayer|getShellLayer]]() * int [[postviewdata#getbeamlayer|getBeamLayer]]() * void [[postviewdata#setshelllayer|setShellLayer]](int shellPos) * void [[postviewdata#setbeamlayer|setBeamLayer]](int beamPos) * bool [[postviewdata#initfieldsetting|initFieldSetting]]() * float * [[postviewdata#getnodeposition|getNodePosition]](ulong id) * float * [[postviewdata#getnoderltvalue|getNodeRltValue]](ulong id) * virtual char * [[postviewdata#getdatastring|getDataString]](TypeID t, ulong id) * ulong [[postviewdata#getextremeposition|getExtremePosition]](float * pos, bool bMax) * bool [[postviewdata#getextrememarkmode|getExtremeMarkMode]]() * void [[postviewdata#setextrememarkmode|setExtremeMarkMode]](bool b) * virtual const char * [[postviewdata#getcontourlabel|getContourLabel]]() * void [[postviewdata#updatecontourmaxmin|updateContourMaxMin]]() * float [[postviewdata#getautodeformscale|getAutoDeformScale]]() * void [[postviewdata#setvectorscaleenforced|setVectorScaleEnforced]](bool b) * bool [[postviewdata#isdeformscaleenforced|isDeformScaleEnforced]]() * void [[postviewdata#updatedeformscale|updateDeformScale]]() * void [[postviewdata#updatevectorscale|updateVectorScale]]() * void [[postviewdata#onactiveresultchange|onActiveResultChange]]() * void [[postviewdata#onresultcomponentchange|onResultComponentChange]]() * void [[postviewdata#onresultlocationchange|onResultLocationChange]]() * void [[postviewdata#setdeformenabled|setDeformEnabled]](bool b) * void [[postviewdata#setoriginalvisible|setOriginalVisible]](bool b) * bool [[postviewdata#isoriginalvisible|isOriginalVisible]]() * void [[postviewdata#setviewaxisymmetric|setViewAxisymmetric]](const double * origin, const double * dir, double angle, int times) * AxisymmetricSetting * [[postviewdata#getviewaxisymmetric|getViewAxisymmetric]]() * void [[postviewdata#setcontourstate|setContourState]](bool b) * bool [[postviewdata#getcontourstate|getContourState]]() * void [[postviewdata#updatevectordata|updateVectorData]](float scale) * void [[postviewdata#updatesolidelemdata|updateSolidElemData]]() * void [[postviewdata#setdatarange|setDataRange]](DataRange range) * DataRange [[postviewdata#getdatarange|getDataRange]]() * virtual bool [[postviewdata#prepareanimationdata|prepareAnimationData]](int mode) * void [[postviewdata#prepareanimationresult|prepareAnimationResult]](XResult * rlt) * void [[postviewdata#clearanimationframe|clearAnimationFrame]]() * void [[postviewdata#updateanimationframe|updateAnimationFrame]](VertexFrameFile * vff) * virtual void [[postviewdata#nextanimationframe|nextAnimationFrame]]() * virtual void [[postviewdata#prevanimationframe|prevAnimationFrame]]() * ResultAnimationFrame * [[postviewdata#getcurrentframe|getCurrentFrame]]() * int [[postviewdata#getanimationframecount|getAnimationFrameCount]]() const * bool [[postviewdata#updatecurvedata|updateCurveData]](int iRltType, int iComponent) * int [[postviewdata#getcolorvalue|getColorValue]](int width,int height,uint8 *color,ContourLineHash *clHash) * const XRenderData * [[postviewdata#getdataforpickedelems|getDataForPickedElems]]() * bool [[postviewdata#preparepitchdata|preparePitchData]]() * const PitchAttribute & [[postviewdata#getpitchattribute|getPitchAttribute]]() * void [[postviewdata#setpitchattribute|setPitchAttribute]](int div, double theta) * int [[postviewdata#getpitchindex|getPitchIndex]]() const * void [[postviewdata#setpitchindex|setPitchIndex]](int i) * int [[postviewdata#getpitchcomponent|getPitchComponent]]() const * const FArray * [[postviewdata#getpitchdata|getPitchData]]() const **//Protected interface//** * void [[postviewdata#buildelemsectionview|buildElemSectionView]](int n,SegmentPoint * sp, XRenderData * el_tri,XSolid *b = NULL, int clipIdx = 0) * void [[postviewdata#buildelemview|buildElemView]](ElemPtr el, XRenderData * el_tri, const XSolid * b = NULL) * void [[postviewdata#buildelemcontourline|buildElemContourLine]](int n,SegmentPoint * sp,ArrayGLObject * c_line,float div_coef) ---- {{anchor:m_sectionview}} **XRenderData m_SectionView** {{anchor:m_sectionframeview}} **XRenderData m_SectionFrameView** {{anchor:m_vectorarray}} **ArrayGLObject m_VectorArray** {{anchor:m_pdata}} **const float * m_pData** {{anchor:m_icurstep}} **int m_iCurStep** {{anchor:m_icursubstep}} **int m_iCurSubstep** {{anchor:m_irlttype}} **int m_iRltType** {{anchor:m_irltloc}} **int m_iRltLoc** {{anchor:m_irltcomponent}} **int m_iRltComponent** {{anchor:m_icurshellpos}} **int m_iCurShellPos** {{anchor:m_icurbeampos}} **int m_iCurBeamPos** {{anchor:m_icurcoordsys}} **int m_iCurCoordSys** {{anchor:m_pitchattribute}} **PitchAttribute m_PitchAttribute** {{anchor:m_ipitchindex}} **int m_iPitchIndex** {{anchor:m_pitchdata[6]}} **FArray m_PitchData[6]** {{anchor:m_pdeformrlt}} **XResult * m_pDeformRlt** {{anchor:m_fautodeformscale}} **float m_fAutoDeformScale** {{anchor:m_benforcescale}} **bool m_bEnforceScale** {{anchor:m_bshoworiginal}} **bool m_bShowOriginal** {{anchor:bsectiondetail}} **bool bSectionDetail** {{anchor:m_bsectiondeform}} **bool m_bSectionDeform** {{anchor:bsectionprepared}} **bool bSectionPrepared** {{anchor:m_bcontour}} **bool m_bContour** {{anchor:m_bmarkextreme}} **bool m_bMarkExtreme** {{anchor:m_prltaniframes}} **XArray m_pRltAniFrames** {{anchor:m_pgeomvalueset}} **vector*> m_pGeomValueSet** {{anchor:m_idatarange}} **DataRange m_iDataRange** {{anchor:m_viewaxisymmetric}} **AxisymmetricSetting m_ViewAxisymmetric** {{anchor:m_pickedelems}} **XRenderData m_PickedElems** {{anchor:m_fragmentrd}} **XRenderData m_FragmentRD** ---- {{anchor:postviewdata1}} **PostViewData(XDocument * pDoc)** *function: *parameters: - [i]XDocument * pDoc: *return value: {{anchor:~postviewdata}} **~PostViewData()** *function: *parameters: NULL *return value: {{anchor:reset}} **void reset()** *function: *parameters: NULL *return value: {{anchor:builddata}} **void buildData()** *function: *parameters: NULL *return value: {{anchor:updatedata}} **void updateData(ulong update_flag)** *function: *parameters: - [i]ulong update_flag: *return value: {{anchor:clear}} **void clear()** *function: *parameters: NULL *return value: {{anchor:updateviewbox}} **void updateViewBox()** *function: *parameters: NULL *return value: {{anchor:getdocument}} **XDocument * getDocument()** *function: *parameters: NULL *return value: {{anchor:buildmodeldata}} **void buildModelData()** *function: *parameters: NULL *return value: {{anchor:buildresultdata}} **void buildResultData(TypeID rt,int comp)** *function: *parameters: - [i]TypeID rt: - [i]int comp: *return value: {{anchor:releasemodeldata}} **void releaseModelData()** *function: *parameters: NULL *return value: {{anchor:builddeformdata}} **void buildDeformData()** *function: *parameters: NULL *return value: {{anchor:buildcontourdata}} **void buildContourData()** *function: *parameters: NULL *return value: {{anchor:updatesectionedge}} **void updateSectionEdge()** *function: *parameters: NULL *return value: {{anchor:updatesectiondata}} **void updateSectionData(bool bDetail = true)** *function: *parameters: - [i]bool bDetail = true: *return value: {{anchor:getvertexbuffersize}} **int getVertexBufferSize(TypeID bufType, bool bSecond = false)** *function: *parameters: - [i]TypeID bufType: - [i] bool bSecond = false: *return value: {{anchor:getsectionviewdata}} **const XRenderData * getSectionViewData()** *function: *parameters: NULL *return value: {{anchor:getsectionframeviewdata}} **const XRenderData * getSectionFrameViewData()** *function: *parameters: NULL *return value: {{anchor:getfragmentviewdata}} **const XRenderData * getFragmentViewData()** *function: *parameters: NULL *return value: {{anchor:getvectordata}} **void getVectorData(float ** vertex,int **index, int * v_cnt, int * index_cnt)** *function: *parameters: - [i]float ** vertex: - [i]int **index: - [i] int * v_cnt: - [i] int * index_cnt: *return value: {{anchor:getsectioncontourlinedata}} **void getSectionContourLineData(float**vertex,int**color,int * vertex_cnt)** *function: *parameters: - [i]float**vertex: - [i]int**color: - [i]int * vertex_cnt: *return value: {{anchor:preparesectioncontext}} **void prepareSectionContext()** *function: *parameters: NULL *return value: {{anchor:allocsectionmem}} **void allocSectionMem()** *function: *parameters: NULL *return value: {{anchor:releasesectionmem}} **void releaseSectionMem()** *function: *parameters: NULL *return value: {{anchor:setcomponent}} **void setComponent(int i)** *function: *parameters: - [i]int i: *return value: {{anchor:setlocation}} **void setLocation(int i)** *function: *parameters: - [i]int i: *return value: {{anchor:setcurrentstep}} **void setCurrentStep(int step)** *function: *parameters: - [i]int step: *return value: {{anchor:setcurrentsubstep}} **void setCurrentSubstep(int sub)** *function: *parameters: - [i]int sub: *return value: {{anchor:setcurrentresulttype}} **void setCurrentResultType(TypeID t)** *function: *parameters: - [i]TypeID t: *return value: {{anchor:setcurrentcoordsys}} **void setCurrentCoordSys(int t)** *function: *parameters: - [i]int t: *return value: {{anchor:getcurrentstep}} **int getCurrentStep() const** *function: *parameters: NULL *return value: {{anchor:getcurrentsubstep}} **int getCurrentSubstep() const** *function: *parameters: NULL *return value: {{anchor:getcurrentresulttype}} **TypeID getCurrentResultType() const** *function: *parameters: NULL *return value: {{anchor:getcomponent}} **int getComponent() const** *function: *parameters: NULL *return value: {{anchor:getlocation}} **ResultLocType getLocation() const** *function: *parameters: NULL *return value: {{anchor:getcurrentcoordsys}} **int getCurrentCoordSys()** *function: *parameters: NULL *return value: {{anchor:getshelllayer}} **int getShellLayer()** *function: *parameters: NULL *return value: {{anchor:getbeamlayer}} **int getBeamLayer()** *function: *parameters: NULL *return value: {{anchor:setshelllayer}} **void setShellLayer(int shellPos)** *function: *parameters: - [i]int shellPos: *return value: {{anchor:setbeamlayer}} **void setBeamLayer(int beamPos)** *function: *parameters: - [i]int beamPos: *return value: {{anchor:initfieldsetting}} **bool initFieldSetting()** *function: *parameters: NULL *return value: {{anchor:getnodeposition}} **float * getNodePosition(ulong id)** *function: *parameters: - [i]ulong id: *return value: {{anchor:getnoderltvalue}} **float * getNodeRltValue(ulong id)** *function: *parameters: - [i]ulong id: *return value: {{anchor:getdatastring}} **virtual char * getDataString(TypeID t, ulong id)** *function: *parameters: - [i]TypeID t: - [i] ulong id: *return value: {{anchor:getextremeposition}} **ulong getExtremePosition(float * pos, bool bMax)** *function: *parameters: - [i]float * pos: - [i] bool bMax: *return value: {{anchor:getextrememarkmode}} **bool getExtremeMarkMode()** *function: *parameters: NULL *return value: {{anchor:setextrememarkmode}} **void setExtremeMarkMode(bool b)** *function: *parameters: - [i]bool b: *return value: {{anchor:getcontourlabel}} **virtual const char * getContourLabel()** *function: *parameters: NULL *return value: {{anchor:updatecontourmaxmin}} **void updateContourMaxMin()** *function: *parameters: NULL *return value: {{anchor:getautodeformscale}} **float getAutoDeformScale()** *function: *parameters: NULL *return value: {{anchor:setvectorscaleenforced}} **void setVectorScaleEnforced(bool b)** *function: *parameters: - [i]bool b: *return value: {{anchor:isdeformscaleenforced}} **bool isDeformScaleEnforced()** *function: *parameters: NULL *return value: {{anchor:updatedeformscale}} **void updateDeformScale()** *function: *parameters: NULL *return value: {{anchor:updatevectorscale}} **void updateVectorScale()** *function: *parameters: NULL *return value: {{anchor:onactiveresultchange}} **void onActiveResultChange()** *function: *parameters: NULL *return value: {{anchor:onresultcomponentchange}} **void onResultComponentChange()** *function: *parameters: NULL *return value: {{anchor:onresultlocationchange}} **void onResultLocationChange()** *function: *parameters: NULL *return value: {{anchor:setdeformenabled}} **void setDeformEnabled(bool b)** *function: *parameters: - [i]bool b: *return value: {{anchor:setoriginalvisible}} **void setOriginalVisible(bool b)** *function: *parameters: - [i]bool b: *return value: {{anchor:isoriginalvisible}} **bool isOriginalVisible()** *function: *parameters: NULL *return value: {{anchor:setviewaxisymmetric}} **void setViewAxisymmetric(const double * origin, const double * dir, double angle, int times)** *function: *parameters: - [i]const double * origin: - [i] const double * dir: - [i] double angle: - [i] int times: *return value: {{anchor:getviewaxisymmetric}} **AxisymmetricSetting * getViewAxisymmetric()** *function: *parameters: NULL *return value: {{anchor:setcontourstate}} **void setContourState(bool b)** *function: *parameters: - [i]bool b: *return value: {{anchor:getcontourstate}} **bool getContourState()** *function: *parameters: NULL *return value: {{anchor:updatevectordata}} **void updateVectorData(float scale)** *function: *parameters: - [i]float scale: *return value: {{anchor:updatesolidelemdata}} **void updateSolidElemData()** *function: *parameters: NULL *return value: {{anchor:setdatarange}} **void setDataRange(DataRange range)** *function: *parameters: - [i]DataRange range: *return value: {{anchor:getdatarange}} **DataRange getDataRange()** *function: *parameters: NULL *return value: {{anchor:prepareanimationdata}} **virtual bool prepareAnimationData(int mode)** *function: *parameters: - [i]int mode: *return value: {{anchor:prepareanimationresult}} **void prepareAnimationResult(XResult * rlt)** *function: *parameters: - [i]XResult * rlt: *return value: {{anchor:clearanimationframe}} **void clearAnimationFrame()** *function: *parameters: NULL *return value: {{anchor:updateanimationframe}} **void updateAnimationFrame(VertexFrameFile * vff)** *function: *parameters: - [i]VertexFrameFile * vff: *return value: {{anchor:nextanimationframe}} **virtual void nextAnimationFrame()** *function: *parameters: NULL *return value: {{anchor:prevanimationframe}} **virtual void prevAnimationFrame()** *function: *parameters: NULL *return value: {{anchor:getcurrentframe}} **ResultAnimationFrame * getCurrentFrame()** *function: *parameters: NULL *return value: {{anchor:getanimationframecount}} **int getAnimationFrameCount() const** *function: *parameters: NULL *return value: {{anchor:updatecurvedata}} **bool updateCurveData(int iRltType, int iComponent)** *function: *parameters: - [i]int iRltType: - [i] int iComponent: *return value: {{anchor:getcolorvalue}} **int getColorValue(int width,int height,uint8 *color,ContourLineHash *clHash)** *function: *parameters: - [i]int width: - [i]int height: - [i]uint8 *color: - [i]ContourLineHash *clHash: *return value: {{anchor:getdataforpickedelems}} **const XRenderData * getDataForPickedElems()** *function: *parameters: NULL *return value: {{anchor:preparepitchdata}} **bool preparePitchData()** *function: *parameters: NULL *return value: {{anchor:getpitchattribute}} **const PitchAttribute & getPitchAttribute()** *function: *parameters: NULL *return value: {{anchor:setpitchattribute}} **void setPitchAttribute(int div, double theta)** *function: *parameters: - [i]int div: - [i] double theta: *return value: {{anchor:getpitchindex}} **int getPitchIndex() const** *function: *parameters: NULL *return value: {{anchor:setpitchindex}} **void setPitchIndex(int i)** *function: *parameters: - [i]int i: *return value: {{anchor:getpitchcomponent}} **int getPitchComponent() const** *function: *parameters: NULL *return value: {{anchor:getpitchdata}} **const FArray * getPitchData() const** *function: *parameters: NULL *return value: ---- {{anchor:buildelemsectionview}} **void buildElemSectionView(int n,SegmentPoint * sp, XRenderData * el_tri,XSolid *b = NULL, int clipIdx = 0)** *function: *parameters: - [i]int n: - [i]SegmentPoint * sp: - [i] XRenderData * el_tri: - [i]XSolid *b = NULL: - [i] int clipIdx = 0: *return value: {{anchor:buildelemview}} **void buildElemView(ElemPtr el, XRenderData * el_tri, const XSolid * b = NULL)** *function: *parameters: - [i]ElemPtr el: - [i] XRenderData * el_tri: - [i] const XSolid * b = NULL: *return value: {{anchor:buildelemcontourline}} **void buildElemContourLine(int n,SegmentPoint * sp,ArrayGLObject * c_line,float div_coef)** *function: *parameters: - [i]int n: - [i]SegmentPoint * sp: - [i]ArrayGLObject * c_line: - [i]float div_coef: *return value: