User Tools

Site Tools


project:aeac:postviewdata



PostViewData

Inherited from XViewData,

Inherited by NULL

Friend class NULL

Description

Members

Public interface

Protected interface

  • 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)

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)

  • function:
  • parameters:
    1. [i]XDocument * pDoc:
  • return value:

~PostViewData()

  • function:
  • parameters: NULL
  • return value:

void reset()

  • function:
  • parameters: NULL
  • return value:

void buildData()

  • function:
  • parameters: NULL
  • return value:

void updateData(ulong update_flag)

  • function:
  • parameters:
    1. [i]ulong update_flag:
  • return value:

void clear()

  • function:
  • parameters: NULL
  • return value:

void updateViewBox()

  • function:
  • parameters: NULL
  • return value:

XDocument * getDocument()

  • function:
  • parameters: NULL
  • return value:

void buildModelData()

  • function:
  • parameters: NULL
  • return value:

void buildResultData(TypeID rt,int comp)

  • function:
  • parameters:
    1. [i]TypeID rt:
    2. [i]int comp:
  • return value:

void releaseModelData()

  • function:
  • parameters: NULL
  • return value:

void buildDeformData()

  • function:
  • parameters: NULL
  • return value:

void buildContourData()

  • function:
  • parameters: NULL
  • return value:

void updateSectionEdge()

  • function:
  • parameters: NULL
  • return value:

void updateSectionData(bool bDetail = true)

  • function:
  • parameters:
    1. [i]bool bDetail = true:
  • return value:

int getVertexBufferSize(TypeID bufType, bool bSecond = false)

  • function:
  • parameters:
    1. [i]TypeID bufType:
    2. [i] bool bSecond = false:
  • return value:

const XRenderData * getSectionViewData()

  • function:
  • parameters: NULL
  • return value:

const XRenderData * getSectionFrameViewData()

  • function:
  • parameters: NULL
  • return value:

const XRenderData * getFragmentViewData()

  • function:
  • parameters: NULL
  • return value:

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

  • function:
  • parameters:
    1. [i]float ** vertex:
    2. [i]int **index:
    3. [i] int * v_cnt:
    4. [i] int * index_cnt:
  • return value:

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

  • function:
  • parameters:
    1. [i]float**vertex:
    2. [i]int**color:
    3. [i]int * vertex_cnt:
  • return value:

void prepareSectionContext()

  • function:
  • parameters: NULL
  • return value:

void allocSectionMem()

  • function:
  • parameters: NULL
  • return value:

void releaseSectionMem()

  • function:
  • parameters: NULL
  • return value:

void setComponent(int i)

  • function:
  • parameters:
    1. [i]int i:
  • return value:

void setLocation(int i)

  • function:
  • parameters:
    1. [i]int i:
  • return value:

void setCurrentStep(int step)

  • function:
  • parameters:
    1. [i]int step:
  • return value:

void setCurrentSubstep(int sub)

  • function:
  • parameters:
    1. [i]int sub:
  • return value:

void setCurrentResultType(TypeID t)

  • function:
  • parameters:
    1. [i]TypeID t:
  • return value:

void setCurrentCoordSys(int t)

  • function:
  • parameters:
    1. [i]int t:
  • return value:

int getCurrentStep() const

  • function:
  • parameters: NULL
  • return value:

int getCurrentSubstep() const

  • function:
  • parameters: NULL
  • return value:

TypeID getCurrentResultType() const

  • function:
  • parameters: NULL
  • return value:

int getComponent() const

  • function:
  • parameters: NULL
  • return value:

ResultLocType getLocation() const

  • function:
  • parameters: NULL
  • return value:

int getCurrentCoordSys()

  • function:
  • parameters: NULL
  • return value:

int getShellLayer()

  • function:
  • parameters: NULL
  • return value:

int getBeamLayer()

  • function:
  • parameters: NULL
  • return value:

void setShellLayer(int shellPos)

  • function:
  • parameters:
    1. [i]int shellPos:
  • return value:

void setBeamLayer(int beamPos)

  • function:
  • parameters:
    1. [i]int beamPos:
  • return value:

bool initFieldSetting()

  • function:
  • parameters: NULL
  • return value:

float * getNodePosition(ulong id)

  • function:
  • parameters:
    1. [i]ulong id:
  • return value:

float * getNodeRltValue(ulong id)

  • function:
  • parameters:
    1. [i]ulong id:
  • return value:

virtual char * getDataString(TypeID t, ulong id)

  • function:
  • parameters:
    1. [i]TypeID t:
    2. [i] ulong id:
  • return value:

ulong getExtremePosition(float * pos, bool bMax)

  • function:
  • parameters:
    1. [i]float * pos:
    2. [i] bool bMax:
  • return value:

bool getExtremeMarkMode()

  • function:
  • parameters: NULL
  • return value:

void setExtremeMarkMode(bool b)

  • function:
  • parameters:
    1. [i]bool b:
  • return value:

virtual const char * getContourLabel()

  • function:
  • parameters: NULL
  • return value:

void updateContourMaxMin()

  • function:
  • parameters: NULL
  • return value:

float getAutoDeformScale()

  • function:
  • parameters: NULL
  • return value:

void setVectorScaleEnforced(bool b)

  • function:
  • parameters:
    1. [i]bool b:
  • return value:

bool isDeformScaleEnforced()

  • function:
  • parameters: NULL
  • return value:

void updateDeformScale()

  • function:
  • parameters: NULL
  • return value:

void updateVectorScale()

  • function:
  • parameters: NULL
  • return value:

void onActiveResultChange()

  • function:
  • parameters: NULL
  • return value:

void onResultComponentChange()

  • function:
  • parameters: NULL
  • return value:

void onResultLocationChange()

  • function:
  • parameters: NULL
  • return value:

void setDeformEnabled(bool b)

  • function:
  • parameters:
    1. [i]bool b:
  • return value:

void setOriginalVisible(bool b)

  • function:
  • parameters:
    1. [i]bool b:
  • return value:

bool isOriginalVisible()

  • function:
  • parameters: NULL
  • return value:

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

  • function:
  • parameters:
    1. [i]const double * origin:
    2. [i] const double * dir:
    3. [i] double angle:
    4. [i] int times:
  • return value:

AxisymmetricSetting * getViewAxisymmetric()

  • function:
  • parameters: NULL
  • return value:

void setContourState(bool b)

  • function:
  • parameters:
    1. [i]bool b:
  • return value:

bool getContourState()

  • function:
  • parameters: NULL
  • return value:

void updateVectorData(float scale)

  • function:
  • parameters:
    1. [i]float scale:
  • return value:

void updateSolidElemData()

  • function:
  • parameters: NULL
  • return value:

void setDataRange(DataRange range)

  • function:
  • parameters:
    1. [i]DataRange range:
  • return value:

DataRange getDataRange()

  • function:
  • parameters: NULL
  • return value:

virtual bool prepareAnimationData(int mode)

  • function:
  • parameters:
    1. [i]int mode:
  • return value:

void prepareAnimationResult(XResult * rlt)

  • function:
  • parameters:
    1. [i]XResult * rlt:
  • return value:

void clearAnimationFrame()

  • function:
  • parameters: NULL
  • return value:

void updateAnimationFrame(VertexFrameFile * vff)

  • function:
  • parameters:
    1. [i]VertexFrameFile * vff:
  • return value:

virtual void nextAnimationFrame()

  • function:
  • parameters: NULL
  • return value:

virtual void prevAnimationFrame()

  • function:
  • parameters: NULL
  • return value:

ResultAnimationFrame * getCurrentFrame()

  • function:
  • parameters: NULL
  • return value:

int getAnimationFrameCount() const

  • function:
  • parameters: NULL
  • return value:

bool updateCurveData(int iRltType, int iComponent)

  • function:
  • parameters:
    1. [i]int iRltType:
    2. [i] int iComponent:
  • return value:

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

  • function:
  • parameters:
    1. [i]int width:
    2. [i]int height:
    3. [i]uint8 *color:
    4. [i]ContourLineHash *clHash:
  • return value:

const XRenderData * getDataForPickedElems()

  • function:
  • parameters: NULL
  • return value:

bool preparePitchData()

  • function:
  • parameters: NULL
  • return value:

const PitchAttribute & getPitchAttribute()

  • function:
  • parameters: NULL
  • return value:

void setPitchAttribute(int div, double theta)

  • function:
  • parameters:
    1. [i]int div:
    2. [i] double theta:
  • return value:

int getPitchIndex() const

  • function:
  • parameters: NULL
  • return value:

void setPitchIndex(int i)

  • function:
  • parameters:
    1. [i]int i:
  • return value:

int getPitchComponent() const

  • function:
  • parameters: NULL
  • return value:

const FArray * getPitchData() const

  • function:
  • parameters: NULL
  • return value:

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

  • function:
  • parameters:
    1. [i]int n:
    2. [i]SegmentPoint * sp:
    3. [i] XRenderData * el_tri:
    4. [i]XSolid *b = NULL:
    5. [i] int clipIdx = 0:
  • return value:

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

  • function:
  • parameters:
    1. [i]ElemPtr el:
    2. [i] XRenderData * el_tri:
    3. [i] const XSolid * b = NULL:
  • return value:

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

  • function:
  • parameters:
    1. [i]int n:
    2. [i]SegmentPoint * sp:
    3. [i]ArrayGLObject * c_line:
    4. [i]float div_coef:
  • return value:
project/aeac/postviewdata.txt · Last modified: 2023/05/16 10:14 (external edit)